Skip navigation links
oracle.iam.identity.exception
Class NoSuchRoleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.iam.exception.OIMServiceException
oracle.iam.platform.utils.SuperException
oracle.iam.identity.exception.IdentityException
oracle.iam.identity.exception.RoleManagerException
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.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 |
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
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.