public class MeasurementException extends 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(String message)
Constructs a
MeasurementException with the given message. |
|
MeasurementException(String message,
Throwable cause)
Constructs a
MeasurementException with the given message and cause. |
|
MeasurementException(Throwable cause)
Constructs a
MeasurementException with the given cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MeasurementException(String message)
MeasurementException
with the given message.message
- the detail message, or null
if none.public MeasurementException(Throwable cause)
MeasurementException
with the given cause.cause
- the cause of this exception, or null
if none.public MeasurementException(String message, 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–2015 Jean-Marie Dautelle, Werner Keil, V2COM. All rights reserved.