GemFire 5.5.1

com.gemstone.gemfire
Class GemFireCheckedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.gemstone.gemfire.GemFireCheckedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdminException, QueryException

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:
5.1
See Also:
GemFireException, Serialized Form

Constructor Summary
GemFireCheckedException()
          Creates a new GemFireException with no detailed message.
GemFireCheckedException(String message)
          Creates a new GemFireCheckedException with the given detail message.
GemFireCheckedException(String message, Throwable cause)
          Creates a new GemFireException with the given detail message and cause.
GemFireCheckedException(Throwable cause)
          Creates a new GemFireCheckedException with the given cause and no detail message
 
Method Summary
 Throwable getRootCause()
          Returns the root cause of this GemFireCheckedException or null if the cause is nonexistent or unknown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.


GemFireCheckedException

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


GemFireCheckedException

public GemFireCheckedException(Throwable cause)
Creates a new GemFireCheckedException with the given cause and no detail message

Method Detail

getRootCause

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


GemFire 5.5.1

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.