Package org.apache.geode.management
Class ManagementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.management.ManagementException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlreadyRunningException
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:
- GemFire 7.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with anulldetail 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 org.apache.geode.GemFireException
getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ManagementException
public ManagementException()Constructs a new exception with anulldetail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable). -
ManagementException
Constructs a new exception with the specified detail message. The cause is not initialized and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable).- Parameters:
message- The detail message.
-
ManagementException
Constructs a new ManagementException with the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated in this runtime exception's detail message.- Parameters:
message- The detail message.cause- The cause of this exception ornullif the cause is unknown.
-
ManagementException
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 ornullif the cause is unknown.
-