Skip navigation links

Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager
11g Release 2 (11.1.2.1.0)

E27137-02


oracle.security.am.plugin.authn
Class AuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.security.am.plugin.authn.AuthenticationException

All Implemented Interfaces:
java.io.Serializable

public class AuthenticationException
extends java.lang.RuntimeException
Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.2.0.0
See Also:
Serialized Form

Constructor Summary
AuthenticationException()
          Create Exception.
AuthenticationException(AuthenticationErrorCode errorCode)
          Instantiates a new authentication exception.
AuthenticationException(AuthenticationErrorCode errorCode, java.lang.String secondaryErrorMessage)
          Instantiates a new authentication exception.
AuthenticationException(AuthenticationErrorCode errorCode, java.lang.Throwable t)
          Instantiates a new authentication exception.
AuthenticationException(AuthenticationErrorCode errorCode, java.lang.Throwable t, java.lang.String secondaryErrorMessage)
          Instantiates a new authentication exception.
AuthenticationException(java.lang.String key)
          Create Exception.
AuthenticationException(java.lang.String key, AuthenticationErrorCode errorCode)
          Instantiates a new authentication exception.
AuthenticationException(java.lang.String key, AuthenticationErrorCode errorCode, java.lang.Throwable t)
          Instantiates a new authentication exception.
AuthenticationException(java.lang.String messageId, java.lang.Object[] params)
          Constructs a new exception with the specified message ID and parameters.
AuthenticationException(java.lang.String key, java.lang.Throwable t)
          Create Exception.
AuthenticationException(java.lang.String messageId, java.lang.Throwable cause, java.lang.Object[] params)
          Constructs a new exception with passed message ID, cause, and parameters.
AuthenticationException(java.lang.Throwable t)
          Create Exception.

 

Method Summary
 AuthenticationErrorCode getErrorCode()
          Gets the error code.
 java.lang.String getMessage()
          Returns the detail message string associated with the message ID for the current locale.
 java.lang.String getMessage(java.util.Locale locale)
          Returns the detail message string associated with the message ID for the requested locale, if available.
 java.lang.String getMessageId()
          Returns the message ID that was passed in on creation, if any.
 java.lang.String getSecondaryErrorMessage()
          Returns the secondary Error 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, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

 

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

 

Constructor Detail

AuthenticationException

public AuthenticationException()
Create Exception.

AuthenticationException

public AuthenticationException(AuthenticationErrorCode errorCode)
Instantiates a new authentication exception.
Parameters:
errorCode - the error code

AuthenticationException

public AuthenticationException(AuthenticationErrorCode errorCode,
                               java.lang.String secondaryErrorMessage)
Instantiates a new authentication exception.
Parameters:
errorCode - the error code
secondaryErrorMessage - Secondary error message

AuthenticationException

public AuthenticationException(java.lang.String key)
Create Exception.
Parameters:
key - the key

AuthenticationException

public AuthenticationException(java.lang.String key,
                               AuthenticationErrorCode errorCode)
Instantiates a new authentication exception.
Parameters:
key - the key
errorCode - the error code

AuthenticationException

public AuthenticationException(java.lang.String key,
                               java.lang.Throwable t)
Create Exception.
Parameters:
key - the key
t - the t

AuthenticationException

public AuthenticationException(java.lang.String key,
                               AuthenticationErrorCode errorCode,
                               java.lang.Throwable t)
Instantiates a new authentication exception.
Parameters:
key - the key
errorCode - the error code
t - the t

AuthenticationException

public AuthenticationException(java.lang.Throwable t)
Create Exception.
Parameters:
t - the t

AuthenticationException

public AuthenticationException(AuthenticationErrorCode errorCode,
                               java.lang.Throwable t)
Instantiates a new authentication exception.
Parameters:
errorCode - the error code
t - the t

AuthenticationException

public AuthenticationException(AuthenticationErrorCode errorCode,
                               java.lang.Throwable t,
                               java.lang.String secondaryErrorMessage)
Instantiates a new authentication exception.
Parameters:
errorCode - the error code
t - the t
secondaryErrorMessage - Secondary error message

AuthenticationException

public AuthenticationException(java.lang.String messageId,
                               java.lang.Object[] params)
Constructs a new exception with the specified message ID and parameters.
Parameters:
messageId -
params -

AuthenticationException

public AuthenticationException(java.lang.String messageId,
                               java.lang.Throwable cause,
                               java.lang.Object[] params)
Constructs a new exception with passed message ID, cause, and parameters.
Parameters:
messageId -
cause -
params -

Method Detail

getErrorCode

public AuthenticationErrorCode getErrorCode()
Gets the error code.
Returns:
the error code

getMessageId

public java.lang.String getMessageId()
Returns the message ID that was passed in on creation, if any.
Returns:

getMessage

public java.lang.String getMessage()
Returns the detail message string associated with the message ID for the current locale. If not found, the message ID itself is returned.
Overrides:
getMessage in class java.lang.Throwable

getSecondaryErrorMessage

public java.lang.String getSecondaryErrorMessage()
Returns the secondary Error message.
Returns:

getMessage

public java.lang.String getMessage(java.util.Locale locale)
Returns the detail message string associated with the message ID for the requested locale, if available. If not found, the message ID itself is returned, or null if unset.

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 Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager
11g Release 2 (11.1.2.1.0)

E27137-02


Copyright © 2013, Oracle Corp. All Rights Reserved.