com.gemstone.gemfire.security
Class NotAuthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gemstone.gemfire.GemFireException
com.gemstone.gemfire.security.GemFireSecurityException
com.gemstone.gemfire.security.NotAuthorizedException
- All Implemented Interfaces:
- Serializable
public class NotAuthorizedException
- extends GemFireSecurityException
Thrown when a client/peer is unauthorized to perform a requested operation.
- Since:
- 5.5
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NotAuthorizedException
public NotAuthorizedException(String message)
- Constructs instance of
NotAuthorizedException with error
message.
- Parameters:
message - the error message
NotAuthorizedException
public NotAuthorizedException(String message,
Principal ppl)
NotAuthorizedException
public NotAuthorizedException(String message,
Throwable cause)
- Constructs instance of
NotAuthorizedException with error
message and cause.
- Parameters:
message - the error messagecause - a Throwable that is a cause of this exception
getPrincipal
public Principal getPrincipal()
Copyright © 1997-2011 VMware, Inc. All rights reserved.