| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception de.mcs.jmeasurement.MeasurementException
All known Subclasses: de.mcs.jmeasurement.RendererMustNotBeNullException, de.mcs.jmeasurement.MonitorNotRunningException,
MeasurementException | public class MeasurementException extends Exception (Code) | | Main Exception class for this package. Only to act as an indicator.
author: w.klaas |
Constructor Summary | |
public | MeasurementException() Constructs a new measurement exception with null as its
detail message. | public | MeasurementException(String message) Constructs a new measurement exception with the specified detail message.
The cause is not initialized, and may subsequently be initialized by a
call to
MeasurementException.initCause .
Parameters: message - the detail message. | public | MeasurementException(String message, Throwable cause) Constructs a new measurement exception with the specified detail message
and cause.
Note that the detail message associated with cause is
not automatically incorporated in this measurement exception's
detail message.
Parameters: message - the detail message (which is saved for later retrieval by theMeasurementException.getMessage()method). Parameters: cause - the cause (which is saved for later retrieval by theMeasurementException.getCause()method). | public | MeasurementException(Throwable cause) Constructs a new measurement exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause).
This constructor is useful for measurement exceptions that are little
more than wrappers for other throwables.
Parameters: cause - the cause (which is saved for later retrieval by theMeasurementException.getCause()method). |
MeasurementException | public MeasurementException()(Code) | | Constructs a new measurement exception with null as its
detail message. The cause is not initialized, and may subsequently be
initialized by a call to
MeasurementException.initCause .
|
MeasurementException | public MeasurementException(String message)(Code) | | Constructs a new measurement exception with the specified detail message.
The cause is not initialized, and may subsequently be initialized by a
call to
MeasurementException.initCause .
Parameters: message - the detail message. The detail message is saved for laterretrieval by the MeasurementException.getMessage()method. |
MeasurementException | public MeasurementException(String message, Throwable cause)(Code) | | Constructs a new measurement exception with the specified detail message
and cause.
Note that the detail message associated with cause is
not automatically incorporated in this measurement exception's
detail message.
Parameters: message - the detail message (which is saved for later retrieval by theMeasurementException.getMessage()method). Parameters: cause - the cause (which is saved for later retrieval by theMeasurementException.getCause()method). (Anull value ispermitted, and indicates that the cause is nonexistent orunknown.) since: 1.4 |
MeasurementException | public MeasurementException(Throwable cause)(Code) | | Constructs a new measurement exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause).
This constructor is useful for measurement exceptions that are little
more than wrappers for other throwables.
Parameters: cause - the cause (which is saved for later retrieval by theMeasurementException.getCause()method). (Anull value ispermitted, and indicates that the cause is nonexistent orunknown.) since: 1.4 |
|
|
|