Skip navigation links

Oracle Access Manager Access SDK Java API Reference
11g Release 1 (11.1.1)

E22472-01


oracle.security.am.asdk
Class AccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.security.am.asdk.AccessException

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OperationNotPermittedException

public class AccessException
extends java.lang.Exception

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:
Serialized Form

Constructor Summary
AccessException()
          Constructs an AccessException object with default error message
AccessException(java.lang.Exception ex)
          Constructs an AccessException with the specified exception object
AccessException(java.lang.String messageId)
          Constructs an AccessException with the specified message
AccessException(java.lang.String messageId, java.lang.Object... parameters)
          Constructor based on message and parameters.
AccessException(java.lang.String messageId, java.lang.Throwable exception)
          Constructs an AccessException with the specified message and throwable cause
AccessException(java.lang.Throwable cause)
          Constructors an AccessException based on cause.
AccessException(java.lang.Throwable cause, java.lang.String messageId, java.lang.Object... parameters)
          Constructor based on message, cause and parameters.

 

Method Summary
 java.lang.String getMessageID()
          Returns message id if it was passed on creation.
 java.lang.Object[] getParams()
          Returns the parameters of the exception message.
 java.lang.String toString()
           In addition, the message id is included as a separate field from the message itself if those are distinct.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

AccessException

public AccessException()
Constructs an AccessException object with default error message

AccessException

public AccessException(java.lang.Exception ex)
Constructs an AccessException with the specified exception object
Parameters:
ex - Exception object containing error message

AccessException

public AccessException(java.lang.String messageId)
Constructs an AccessException with the specified message
Parameters:
messageId - Message id

AccessException

public AccessException(java.lang.Throwable cause)
Constructors an AccessException based on cause.
Parameters:
cause - Cause of this exception.

AccessException

public AccessException(java.lang.String messageId,
                       java.lang.Throwable exception)
Constructs an AccessException with the specified message and throwable cause
Parameters:
messageId - message id
exception - throwable cause

AccessException

public AccessException(java.lang.Throwable cause,
                       java.lang.String messageId,
                       java.lang.Object... parameters)
Constructor based on message, cause and parameters.
Parameters:
cause - cause of exception
messageId - message Id
parameters - parameters of the message

AccessException

public AccessException(java.lang.String messageId,
                       java.lang.Object... parameters)
Constructor based on message and parameters.
Parameters:
messageId - Message Id
parameters - parameters of the message

Method Detail

getMessageID

public java.lang.String getMessageID()
Returns message id if it was passed on creation.
Returns:
message id.

getParams

public java.lang.Object[] getParams()
Returns the parameters of the exception message.
Returns:
parameters of the exception message.

toString

public java.lang.String toString()
In addition, the message id is included as a separate field from the message itself if those are distinct.
Overrides:
toString in class java.lang.Throwable

Skip navigation links

Oracle Access Manager Access SDK Java API Reference
11g Release 1 (11.1.1)

E22472-01


Copyright © 2000,2011, Oracle® and/or its affiliates. All rights reserved.