GemFireRethrowable (Apache Geode 1.15.4)

org.apache.geode

## Class GemFireRethrowable

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Error
    - - org.apache.geode.GemFireRethrowable

- All Implemented Interfaces:
    Serializable

      public class GemFireRethrowable
      extends Error

  This error is used by GemFire for internal purposes. It does not indicate an error condition. For this reason it is named "Rethrowable" instead of the standard "Error". It was made an `Error` to make it easier for user code that typically would catch `Exception` to not accidently catch this exception.

  Note: if user code catches this error (or its subclasses) then it must be rethrown.

  Since:
    GemFire 5.7
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GemFireRethrowable()` Create a GemFireRethrowable.
    `GemFireRethrowable(String message)` Create a GemFireRethrowable with the specified message.

  - ### Method Summary

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

      `addSuppressed, fillInStackTrace, getCause, 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

    - #### GemFireRethrowable

          public GemFireRethrowable()

      Create a GemFireRethrowable.

    - #### GemFireRethrowable

          public GemFireRethrowable(String message)

      Create a GemFireRethrowable with the specified message.
      Parameters:
        `message` - the detail message