com.gemstone.gemfire.management.ManagementException Maven / Gradle / Ivy
Show all versions of gemfire-core Show documentation
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing
* permissions and limitations under the License. See accompanying
* LICENSE file.
*/
package com.gemstone.gemfire.management;
import com.gemstone.gemfire.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.
*
* @author rishim
* @since 7.0
*
*/
public class ManagementException extends GemFireException {
private static final long serialVersionUID = 879398950879472121L;
/**
* Constructs a new exception with a null
detail message. The
* cause is not initialized, and may subsequently be initialized by a call to
* {@link Throwable#initCause}.
*/
public ManagementException() {
super();
}
/**
* Constructs a new exception with the specified detail message. The cause is
* not initialized and may subsequently be initialized by a call to
* {@link Throwable#initCause}.
*
* @param message
* The detail message.
*/
public ManagementException(String message) {
super(message);
}
/**
* 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.
*
* @param message
* The detail message.
* @param cause
* The cause of this exception or null
if the cause is
* unknown.
*/
public ManagementException(String message, Throwable cause) {
super(message, 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.
*
* @param cause
* The cause of this exception or null
if the cause is
* unknown.
*/
public ManagementException(Throwable cause) {
super(cause);
}
}