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:
Serializable
- Direct Known Subclasses:
AuthenticationExpiredException,AuthenticationFailedException,AuthenticationRequiredException,NotAuthorizedException
The base class for all org.apache.geode.security package related exceptions.
- Since:
- GemFire 5.5
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGemFireSecurityException(String message) Constructs a new exception with the specified detail message.GemFireSecurityException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.Constructs a new exception with the specified cause. -
Method Summary
Modifier and TypeMethodDescriptiongetCause()protected Objectprotected booleanisSerializable(Object object) Returns true if the providedobjectimplementsSerializable.Methods inherited from class org.apache.geode.GemFireException
getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GemFireSecurityException
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method). (A null value is permitted.)
-
GemFireSecurityException
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). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
GemFireSecurityException
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). (A null value is permitted.)cause- the cause (which is saved for later retrieval by thegetCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Details
-
getCause
-
isSerializable
Returns true if the providedobjectimplementsSerializable.- Parameters:
object- theobjectto test for implementingSerializable.- Returns:
- true if the provided
objectimplementsSerializable.
-
getResolvedObj
ReturnsNamingException.getResolvedObj()if thecauseis aNamingException. Returns null for any other type ofcause.- Returns:
NamingException#getResolvedObj()if thecauseis aNamingException.
-