+

Search Tips   |   Advanced Search


com.ibm.workplace.wcm.api.exceptions
Class AuthorizationException

 java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.workplace.wcm.api.exceptions.WCMException
              extended by 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

Field Summary
 
Fields inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException
ERR_APTRIX
 
Constructor Summary
AuthorizationException()
          Constructor.
AuthorizationException(java.lang.String msg)
          Constructs a new exception with the given message.
AuthorizationException(java.lang.String detail, java.lang.Throwable cause)
          Constructor that requires detail plus a cause exception
 
Method Summary
 
Methods inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException
getCause, getErrorCode, getMessage, printStackTrace, printStackTrace, printStackTrace
 
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
 

Constructor Detail

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