public class MeasurementException
extends java.lang.RuntimeException
This exception is used to indicate problems with creating, retrieving and manipulating units of measurement objects.
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
For cross-version compatibility.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MeasurementException()
Constructs a
MeasurementException with no given message. |
|
MeasurementException(java.lang.String message)
Constructs a
MeasurementException with the given message. |
|
MeasurementException(java.lang.String message,
java.lang.Throwable cause)
Constructs a
MeasurementException with the given message and cause. |
|
MeasurementException(java.lang.Throwable cause)
Constructs a
MeasurementException with the given cause. |
private static final long serialVersionUID
public MeasurementException(java.lang.String message)
MeasurementException with the given message.message - the detail message, or null if none.public MeasurementException(java.lang.Throwable cause)
MeasurementException with the given cause.cause - the cause of this exception, or null if none.public MeasurementException(java.lang.String message,
java.lang.Throwable cause)
MeasurementException with the given message and cause.message - the detail message, or null if none.cause - the cause of this exception, or null if none.protected MeasurementException()
MeasurementException with no given message.