Skip navigation links


oracle.iam.identity.exception
Class NoSuchRoleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.iam.exception.OIMServiceException
              extended by oracle.iam.platform.utils.SuperException
                  extended by oracle.iam.identity.exception.IdentityException
                      extended by oracle.iam.identity.exception.RoleManagerException
                          extended by oracle.iam.identity.exception.NoSuchRoleException

All Implemented Interfaces:
java.io.Serializable, oracle.iam.platform.utils.io.XmlPrintable, OIMGenericExceptionIntf

public class NoSuchRoleException
extends RoleManagerException
See Also:
Serialized Form

Constructor Summary
NoSuchRoleException()
          Constructs a new super exception with null as its detail message.
NoSuchRoleException(java.lang.String message)
          Constructs a new super exception with the specified detail message.
NoSuchRoleException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new super exception with the specified detail message and cause.
NoSuchRoleException(java.lang.Throwable cause)
          Constructs a new super exception with the specified cause.

 

Method Summary
 java.lang.String getErrorCode()
          Gets the ErrorCode from super exception.

 

Methods inherited from class oracle.iam.identity.exception.IdentityException
getParameterMap, getParameters, setErrorCode, setParameterMap, setParameters

 

Methods inherited from class oracle.iam.platform.utils.SuperException
getLocalizedMessages, getMessages, xprint, xprint

 

Methods inherited from class oracle.iam.exception.OIMServiceException
addError, copyErrorInfo, getErrorData, getErrorMessage, getErrors, getLocalizedMessage, hasMultipleErrors, setErrorData, setErrorMessage, setErrors, toString

 

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

 

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

 

Constructor Detail

NoSuchRoleException

public NoSuchRoleException()
Constructs a new super exception with null as its detail message.

NoSuchRoleException

public NoSuchRoleException(java.lang.String message)
Constructs a new super exception with the specified detail message.
Parameters:
message - the detail message

NoSuchRoleException

public NoSuchRoleException(java.lang.String message,
                           java.lang.Throwable cause)
Constructs a new super exception with the specified detail message and cause.
Parameters:
message - the detail message
cause - the cause

NoSuchRoleException

public NoSuchRoleException(java.lang.Throwable cause)
Constructs a new super exception with the specified cause.
Parameters:
cause - the cause

Method Detail

getErrorCode

public java.lang.String getErrorCode()
Gets the ErrorCode from super exception. If the errorCode is null, it defaults to NO_SUCH_ROLE_EXISTS errorCode.
Specified by:
getErrorCode in interface OIMGenericExceptionIntf
Overrides:
getErrorCode in class IdentityException
Returns:
errCode the errorCode associated with the exception

Skip navigation links


Copyright © 2014, Oracle and/or its affiliates. All rights reserved.