Serializable
MeasurementParseException
, UnconvertibleException
public class MeasurementException extends RuntimeException
This exception is used to indicate problems with creating, retrieving and manipulating units of measurement objects.
implSpec This class is intended for use in a single thread. Exception thrown when errors occur during Units of Measurement operations.Modifier | Constructor | 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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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–2019 Jean-Marie Dautelle, Werner Keil, Otavio Santana. All rights reserved.