GemFireSecurityException (Apache Geode 1.4.0)
Date: 2018-01-29

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:
    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 and 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 and Description
    --- | ---
    `java.lang.Throwable` | `getCause()`
    `protected java.lang.Object` | `getResolvedObj()` Returns `NamingException.getResolvedObj()` if the `cause` is a `NamingException`.
    `protected boolean` | `isSerializable(java.lang.Object object)` Returns true if the provided `object` implements `Serializable`.

    - ### 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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 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 the `Throwable.getMessage()` method). (A `null` 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 the `getCause()` method). (A `null` 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 with `cause` is automatically used as this exception's detail message.

      Parameters:
        `message` - the detail message (which is saved for later retrieval by the `Throwable.getMessage()` method). (A `null` value is permitted.)
        `cause` - the cause (which is saved for later retrieval by the `getCause()` method). (A `null` value is permitted, and indicates that the cause is nonexistent or unknown.)

  - ### Method Detail

    - #### getCause

          public java.lang.Throwable getCause()

      Overrides:
        `getCause` in class `java.lang.Throwable`

    - #### isSerializable

          protected boolean isSerializable(java.lang.Object object)

      Returns true if the provided `object` implements `Serializable`.
      Parameters:
        `object` - the `object` to test for implementing `Serializable`.
      Returns:
        true if the provided `object` implements `Serializable`.

    - #### getResolvedObj

          protected java.lang.Object getResolvedObj()

      Returns `NamingException.getResolvedObj()` if the `cause` is a `NamingException`. Returns `null` for any other type of `cause`.
      Returns:
        `NamingException#getResolvedObj()` if the `cause` is a `NamingException`.