Class GemFireRethrowable

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Error
        • org.apache.geode.GemFireRethrowable
  • All Implemented Interfaces:
    java.io.Serializable

    public class GemFireRethrowable
    extends java.lang.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 Description
      GemFireRethrowable()
      Create a GemFireRethrowable.
      GemFireRethrowable​(java.lang.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​(java.lang.String message)
        Create a GemFireRethrowable with the specified message.
        Parameters:
        message - the detail message