Package oracle.security.am.asdk
Class AccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.security.am.asdk.AccessException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OperationNotPermittedException
An AccessException is thrown by the OAM Access SDK API whenever unexpected, unrecoverable errors occur between the Access SDK and the OAM Server.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an AccessException object with default error messageAccessException<wbr>(Exception ex)Constructs an AccessException with the specified exception objectAccessException<wbr>(String messageId)Constructs an AccessException with the specified messageAccessException<wbr>(String messageId, Object... parameters)Constructor based on message and parameters.AccessException<wbr>(String messageId, Throwable exception)Constructs an AccessException with the specified message and throwable causeAccessException<wbr>(Throwable cause)Constructors an AccessException based on cause.AccessException<wbr>(Throwable cause, String messageId, Object... parameters)Constructor based on message, cause and parameters. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
AccessException
public AccessException()Constructs an AccessException object with default error message -
AccessException
Constructs an AccessException with the specified exception object- Parameters:
ex- Exception object containing error message
-
AccessException
Constructs an AccessException with the specified message- Parameters:
messageId- Message id
-
AccessException
Constructors an AccessException based on cause.- Parameters:
cause- Cause of this exception.
-
AccessException
Constructs an AccessException with the specified message and throwable cause- Parameters:
messageId- message idexception- throwable cause
-
AccessException
Constructor based on message, cause and parameters.- Parameters:
cause- cause of exceptionmessageId- message Idparameters- parameters of the message
-
AccessException
Constructor based on message and parameters.- Parameters:
messageId- Message Idparameters- parameters of the message
-
-
Method Details
-
getMessageID
Returns message id if it was passed on creation.- Returns:
- message id.
-
getParams
Returns the parameters of the exception message.- Returns:
- parameters of the exception message.
-
toString
In addition, the message id is included as a separate field from the message itself if those are distinct.
-