com.ibm.workplace.wcm.api.exceptions
Class AuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.workplace.wcm.api.exceptions.WCMException
com.ibm.workplace.wcm.api.exceptions.AuthorizationException
- All Implemented Interfaces:
- java.io.Serializable
public class AuthorizationException
- extends WCMException
The AuthorizationException is thrown if the API user attempts to access a
content that they do not have the appropriate access to.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AuthorizationException
public AuthorizationException()
- Constructor.
AuthorizationException
public AuthorizationException(java.lang.String msg)
- Constructs a new exception with the given message.
- Parameters:
- msg - the message
AuthorizationException
public AuthorizationException(java.lang.String detail,
java.lang.Throwable cause)
- Constructor that requires detail plus a cause exception
- Parameters:
- detail - a message description extra information about the exception
- cause - the exception that caused this exception