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:
  • Constructor Details

    • GemFireRethrowable

      public GemFireRethrowable()
      Create a GemFireRethrowable.
    • GemFireRethrowable

      public GemFireRethrowable(String message)
      Create a GemFireRethrowable with the specified message.
      Parameters:
      message - the detail message