Gemfire JavaDocs
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.Throwable
getCause()
protected java.lang.Object
getResolvedObj()
ReturnsNamingException.getResolvedObj()
if thecause
is aNamingException
.protected boolean
isSerializable(java.lang.Object object)
Returns true if the providedobject
implementsSerializable
.-
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). (Anull
value is permitted.)
-
GemFireSecurityException
public GemFireSecurityException(java.lang.Throwable cause)
Constructs a new exception with the specified cause.Note that the detail message associated with
cause
is automatically used as this exception's detail message.- Parameters:
cause
- the cause (which is saved for later retrieval by thegetCause()
method). (Anull
value 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
message
is null, then the detail message associated withcause
is automatically used as this exception's detail message.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method). (Anull
value is permitted.)cause
- the cause (which is saved for later retrieval by thegetCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Detail
-
getCause
public java.lang.Throwable getCause()
- Overrides:
getCause
in classjava.lang.Throwable
-
isSerializable
protected boolean isSerializable(java.lang.Object object)
Returns true if the providedobject
implementsSerializable
.- Parameters:
object
- theobject
to test for implementingSerializable
.- Returns:
- true if the provided
object
implementsSerializable
.
-
getResolvedObj
protected java.lang.Object getResolvedObj()
ReturnsNamingException.getResolvedObj()
if thecause
is aNamingException
. Returnsnull
for any other type ofcause
.- Returns:
NamingException#getResolvedObj()
if thecause
is aNamingException
.
-
-