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:
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(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.GemFireSecurityException(Throwable cause)Constructs a new exception with the specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()protected ObjectgetResolvedObj()protected booleanisSerializable(Object object)Returns true if the providedobjectimplementsSerializable.-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GemFireSecurityException
public GemFireSecurityException(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(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(String message, 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
-
isSerializable
protected boolean isSerializable(Object object)
Returns true if the providedobjectimplementsSerializable.- Parameters:
object- theobjectto test for implementingSerializable.- Returns:
- true if the provided
objectimplementsSerializable.
-
getResolvedObj
protected Object getResolvedObj()
ReturnsNamingException.getResolvedObj()if thecauseis aNamingException. Returnsnullfor any other type ofcause.- Returns:
NamingException#getResolvedObj()if thecauseis aNamingException.
-
-