Class ApiClientServiceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.forgerock.openig.fapi.apiclient.service.ApiClientServiceException
All Implemented Interfaces:
Serializable

public class ApiClientServiceException extends Exception
Exception raised when failures occur using an ApiClientService.
See Also:
  • Constructor Details

    • ApiClientServiceException

      public ApiClientServiceException(ApiClientServiceException.ErrorCode errorCode, String message)
      Constructs a new ApiClientServiceException with the specified error code and message.
      Parameters:
      errorCode - the error code representing the type of error
      message - the detail message
    • ApiClientServiceException

      public ApiClientServiceException(ApiClientServiceException.ErrorCode errorCode, String message, Throwable cause)
      Constructs a new ApiClientServiceException with the specified error code, message, and cause.
      Parameters:
      errorCode - the error code representing the type of error
      message - the detail message
      cause - the cause of the exception (a null value is permitted)
  • Method Details