GemFire 6.5.1

com.gemstone.gemfire.security
Class NotAuthorizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.security.GemFireSecurityException
                      extended by 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

Constructor Summary
NotAuthorizedException(String message)
          Constructs instance of NotAuthorizedException with error message.
NotAuthorizedException(String message, Principal ppl)
           
NotAuthorizedException(String message, Throwable cause)
          Constructs instance of NotAuthorizedException with error message and cause.
 
Method Summary
 Principal getPrincipal()
           
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 message
cause - a Throwable that is a cause of this exception
Method Detail

getPrincipal

public Principal getPrincipal()

GemFire 6.5.1

Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.