GemFire 7.0

com.gemstone.gemfire.management
Class ManagementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.management.ManagementException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyRunningException

public class ManagementException
extends GemFireException

An ManagementException is thrown when administration or monitoring of GemFire fails. Various management and monitoring exceptions are wrapped and propagated to upper layer with proper descriptions. All ManagementException are designed to be RuntimeExceptions

Since:
7.0
See Also:
Serialized Form

Constructor Summary
ManagementException()
          Constructs a new exception with null as its detail message.
ManagementException(String message)
          Constructs a new exception with the specified detail message.
ManagementException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
ManagementException(Throwable cause)
          Constructs a new exception with the specified cause.
 
Method Summary
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
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

ManagementException

public ManagementException()
Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


ManagementException

public ManagementException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

ManagementException

public ManagementException(String message,
                           Throwable cause)
Constructs a new exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

ManagementException

public ManagementException(Throwable cause)
Constructs a new exception with the specified cause. The detail message will be (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables (for example, PrivilegedActionException).

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

GemFire 7.0

Copyright © 1997-2012 VMware, Inc. All rights reserved.