Package org.apache.geode
Class GemFireRethrowable
java.lang.Object
java.lang.Throwable
java.lang.Error
org.apache.geode.GemFireRethrowable
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionCreate 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
-
Constructor Details
-
GemFireRethrowable
public GemFireRethrowable()Create a GemFireRethrowable. -
GemFireRethrowable
Create a GemFireRethrowable with the specified message.- Parameters:
message- the detail message
-