GemFire 7.0.1

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

A ManagementException is a general exception that may be thrown when any administration or monitoring operation on a GemFire component fails. Various management and monitoring exceptions are wrapped in ManagementExceptions.

Since:
7.0
See Also:
Serialized Form

Constructor Summary
ManagementException()
          Constructs a new exception with a null detail message.
ManagementException(String message)
          Constructs a new exception with the specified detail message.
ManagementException(String message, Throwable cause)
          Constructs a new ManagementException with the specified detail message and cause.
ManagementException(Throwable cause)
          Constructs a new ManagementException by wrapping 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 a null 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.

ManagementException

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

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

Parameters:
message - The detail message.
cause - The cause of this exception or null if the cause is unknown.

ManagementException

public ManagementException(Throwable cause)
Constructs a new ManagementException by wrapping the specified cause. The detail for this exception will be null if the cause is null or cause.toString() if a cause is provided.

Parameters:
cause - The cause of this exception or null if the cause is unknown.

GemFire 7.0.1

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