VMware GemFire Java API Reference
Package org.apache.geode.security
Class GemFireSecurityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.geode.GemFireException
-
- org.apache.geode.security.GemFireSecurityException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AuthenticationExpiredException,AuthenticationFailedException,AuthenticationRequiredException,NotAuthorizedException
public class GemFireSecurityException extends GemFireException
The base class for all org.apache.geode.security package related exceptions.- Since:
- GemFire 5.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GemFireSecurityException(java.lang.String message)Constructs a new exception with the specified detail message.GemFireSecurityException(java.lang.String message, java.lang.Throwable cause)Constructs a new exception with the specified detail message and cause.GemFireSecurityException(java.lang.Throwable cause)Constructs a new exception with the specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetCause()protected java.lang.ObjectgetResolvedObj()ReturnsNamingException.getResolvedObj()if thecauseis aNamingException.protected booleanisSerializable(java.lang.Object object)Returns true if the providedobjectimplementsSerializable.-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
GemFireSecurityException
public GemFireSecurityException(java.lang.String message)
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method). (Anullvalue is permitted.)
-
GemFireSecurityException
public GemFireSecurityException(java.lang.Throwable cause)
Constructs a new exception with the specified cause.Note that the detail message associated with
causeis automatically used as this exception's detail message.- Parameters:
cause- the cause (which is saved for later retrieval by thegetCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
GemFireSecurityException
public GemFireSecurityException(java.lang.String message, java.lang.Throwable cause)Constructs a new exception with the specified detail message and cause.If
messageis null, then the detail message associated withcauseis automatically used as this exception's detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method). (Anullvalue is permitted.)cause- the cause (which is saved for later retrieval by thegetCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Detail
-
getCause
public java.lang.Throwable getCause()
- Overrides:
getCausein classjava.lang.Throwable
-
isSerializable
protected boolean isSerializable(java.lang.Object object)
Returns true if the providedobjectimplementsSerializable.- Parameters:
object- theobjectto test for implementingSerializable.- Returns:
- true if the provided
objectimplementsSerializable.
-
getResolvedObj
protected java.lang.Object getResolvedObj()
ReturnsNamingException.getResolvedObj()if thecauseis aNamingException. Returnsnullfor any other type ofcause.- Returns:
NamingException#getResolvedObj()if thecauseis aNamingException.
-
-