org.wso2.carbon.registry.core.secure
Class AuthorizationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.wso2.carbon.registry.api.RegistryException
              extended by org.wso2.carbon.registry.core.exceptions.RegistryException
                  extended by org.wso2.carbon.registry.core.secure.AuthorizationFailedException
All Implemented Interfaces:
Serializable

public class AuthorizationFailedException
extends RegistryException

Class for capturing exception due to inadequate authorizations to proceed with various registry operations and related utility methods.

See Also:
Serialized Form

Constructor Summary
AuthorizationFailedException(String message)
          Constructs a new exception with the specified detail message.
AuthorizationFailedException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorizationFailedException

public AuthorizationFailedException(String message)
Constructs a new exception with the specified detail message.

Parameters:
message - the detail message.

AuthorizationFailedException

public AuthorizationFailedException(String message,
                                    Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause of this exception.


Copyright © 2013 WSO2 Inc. All Rights Reserved.