Class UnauthorizedAccessException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.wso2.carbon.rest.api.UnauthorizedAccessException
All Implemented Interfaces:
Serializable

public class UnauthorizedAccessException extends RuntimeException
This class represents an exception, which is intended to be thrown when some client code accesses a portion of business logic, i.e method or a block of code, that the it is not authorized or privileged to access.
See Also:
  • Constructor Details

    • UnauthorizedAccessException

      public UnauthorizedAccessException(String message, Throwable cause)
    • UnauthorizedAccessException

      public UnauthorizedAccessException(Throwable cause)
    • UnauthorizedAccessException

      public UnauthorizedAccessException(String message)