public class IncommensurableException
extends java.lang.Exception
This is a checked exception, so it deliberately doesn't inherit from MeasurementException
like most other exceptions.
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
For cross-version compatibility.
|
Constructor and Description |
---|
IncommensurableException(java.lang.String message)
Constructs a
IncommensurableException with the given message. |
IncommensurableException(java.lang.String message,
java.lang.Throwable cause)
Constructs a
IncommensurableException with the given message and cause. |
IncommensurableException(java.lang.Throwable cause)
Constructs a
IncommensurableException with the given cause. |
private static final long serialVersionUID
public IncommensurableException(java.lang.String message)
IncommensurableException
with the given message.message
- the detail message, or null
if none.public IncommensurableException(java.lang.Throwable cause)
IncommensurableException
with the given cause.cause
- the cause of this exception, or null
if none.public IncommensurableException(java.lang.String message, java.lang.Throwable cause)
IncommensurableException
with the given message and cause.message
- the detail message, or null
if none.cause
- the cause of this exception, or null
if none.