Class IdentityProviderException

java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TestConnectionException

public class IdentityProviderException extends Exception
If an error occurs User Identity Provider will throw an exception of type IdentityProviderException.
Since:
11gR1
See Also:
  • Constructor Details

    • IdentityProviderException

      public IdentityProviderException()
      Constructs a default exception.
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID)
      Constructs a new exception with the specified message ID.
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID, Object[] params)
      Constructs a new exception with the specified message ID and parameters.
    • IdentityProviderException

      public IdentityProviderException<wbr>(IdentityProviderException.ERROR_CODES code, Throwable cause)
      Constructs a new exception with the specified message ID and cause.
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID, Throwable cause)
      Constructs a new exception with the specified message ID and cause.
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID, Exception ime)
      Constructs exception along with setting primary error message
      Parameters:
      messageID -
      ime -
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID, Throwable cause, Object[] params)
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID, oracle.igf.ids.IDSException ide, Object[] params)
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID, Throwable cause, Object[] params, String userName, String idstore, String exceptionClassName)
      Constructs a new exception with passed message ID, cause, and parameters.
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID, Exception ime, Object[] params)
      Constructs exception along with setting primary error message
      Parameters:
      messageID -
      ime -
      params -
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID, Exception ime, String userName, String idstore)
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID, oracle.igf.ids.IDSException idse, String userName, String idstore)
      Constructs a new exception with the specified cause.
    • IdentityProviderException

      public IdentityProviderException<wbr>(Throwable cause)
      Constructs a new exception with the specified cause.
    • IdentityProviderException

      public IdentityProviderException<wbr>(Exception ime)
      Constructs exception along with setting primary error message
      Parameters:
      ime -
    • IdentityProviderException

      public IdentityProviderException<wbr>(oracle.igf.ids.IDSException idse)
      Constructs exception along with setting primary error message
      Parameters:
      idse -
    • IdentityProviderException

      public IdentityProviderException<wbr>(String messageID, Exception e, Object[] params, String idStoreName)
  • Method Details

    • setErrorcode

      public void setErrorcode<wbr>(IdentityProviderException.ERROR_CODES e)
      Getter and Setter for error codes
    • getErrorCode

    • getMessageID

      public String getMessageID()
      Returns the message ID that was passed in on creation, if any.
    • getMessage

      public 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 Throwable
    • getMessage

      public String getMessage<wbr>(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.
    • getBundleName

      public String getBundleName()
      Returns the class name of the ResourceBundle holding messages for this component. It's required this be overridden by the top-level exception class of other components.
    • toString

      public 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 Throwable
    • getPrimaryErrorCode

      public String getPrimaryErrorCode()
      Returns:
      the primaryErrorCode
    • setPrimaryErrorCode

      public void setPrimaryErrorCode<wbr>(String primaryErrorCode)
      Parameters:
      primaryErrorCode - the primaryErrorCode to set
    • extractAndSetNativeErrorCodeForAuthException

      public void extractAndSetNativeErrorCodeForAuthException<wbr>(oracle.igf.ids.IDSException ex, oracle.igf.ids.IDSException.PwdPolicyCode errorCode)
    • extractAndSetNativeErrorCodeForIDS

      public void extractAndSetNativeErrorCodeForIDS<wbr>(oracle.igf.ids.IDSException ex, oracle.igf.ids.IDSException.PwdPolicyCode errorCode)