Class GemFireCheckedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.geode.GemFireCheckedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdminException, QueryException, VersionException

public abstract class GemFireCheckedException extends Exception
This is the abstract superclass of exceptions that are thrown and declared.

This class ought to be called GemFireException, but that name is reserved for an older class that extends RuntimeException.

Since:
GemFire 5.1
See Also:
  • Constructor Details

    • GemFireCheckedException

      public GemFireCheckedException()
      Creates a new GemFireException with no detailed message.
    • GemFireCheckedException

      public GemFireCheckedException(String message)
      Creates a new GemFireCheckedException with the given detail message.
      Parameters:
      message - the detail message
    • GemFireCheckedException

      public GemFireCheckedException(String message, Throwable cause)
      Creates a new GemFireException with the given detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause
    • GemFireCheckedException

      public GemFireCheckedException(Throwable cause)
      Creates a new GemFireCheckedException with the given cause and no detail message
      Parameters:
      cause - the cause
  • Method Details

    • getRootCause

      public Throwable getRootCause()
      Returns the root cause of this GemFireCheckedException or null if the cause is nonexistent or unknown.
      Returns:
      the root cause of this GemFireCheckedException