Skip navigation links


oracle.iam.identity.exception
Class AccessDeniedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.iam.platform.utils.SuperRuntimeException
                  extended by oracle.iam.platform.authz.exception.AccessDeniedException
                      extended by oracle.iam.identity.exception.AccessDeniedException

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

public class AccessDeniedException
extends AccessDeniedException
implements OIMGenericExceptionIntf

An exception to signal the error condition that the user is not authorized to perform an operation.

See Also:
Serialized Form

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

 

Method Summary
 java.lang.String getErrorCode()
          Get error code associated with the exception.
 java.util.Map getParameterMap()
          Gets the parameter map
 java.lang.String[] getParameters()
          Gets the parameters
 void setErrorCode(java.lang.String errorCode)
          Sets the error code
 void setParameterMap(java.util.Map paramMap)
          Sets the parameter map
 void setParameters(java.lang.String[] params)
          Sets the parameters

 

Methods inherited from class oracle.iam.platform.utils.SuperRuntimeException
addError, convertErrorData, copyErrorInfo, getErrorData, getErrors, getLocalizedMessage, getLocalizedMessages, getMessages, hasMultipleErrors, setErrorData, setErrors, toString, xprint, xprint

 

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

AccessDeniedException

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

AccessDeniedException

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

AccessDeniedException

public AccessDeniedException(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

AccessDeniedException

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

Method Detail

setParameterMap

public void setParameterMap(java.util.Map paramMap)
Description copied from interface: OIMGenericExceptionIntf
Sets the parameter map
Specified by:
setParameterMap in interface OIMGenericExceptionIntf
Parameters:
paramMap - parameter map for the exception

getParameterMap

public java.util.Map getParameterMap()
Description copied from interface: OIMGenericExceptionIntf
Gets the parameter map
Specified by:
getParameterMap in interface OIMGenericExceptionIntf
Returns:
parameter map for the exception

setParameters

public void setParameters(java.lang.String[] params)
Description copied from interface: OIMGenericExceptionIntf
Sets the parameters
Specified by:
setParameters in interface OIMGenericExceptionIntf
Parameters:
params - parameters for the exception

getParameters

public java.lang.String[] getParameters()
Description copied from interface: OIMGenericExceptionIntf
Gets the parameters
Specified by:
getParameters in interface OIMGenericExceptionIntf
Returns:
parameters for the exception

setErrorCode

public void setErrorCode(java.lang.String errorCode)
Description copied from interface: OIMGenericExceptionIntf
Sets the error code
Specified by:
setErrorCode in interface OIMGenericExceptionIntf
Overrides:
setErrorCode in class SuperRuntimeException
Parameters:
errorCode - error code of the exception

getErrorCode

public java.lang.String getErrorCode()
Description copied from class: SuperRuntimeException
Get error code associated with the exception.
Specified by:
getErrorCode in interface OIMGenericExceptionIntf
Overrides:
getErrorCode in class SuperRuntimeException
Returns:
error code associated with the exception.

Skip navigation links


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