public class MeasurementException extends java.lang.RuntimeException
This exception is used to indicate problems with creating, retrieving and manipulating units of measurement objects.
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. |
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.Copyright © 2014–2018 Jean-Marie Dautelle, Werner Keil, Otavio Santana. All rights reserved.