Top Description Fields Constructors
javax.measure

public Class UnconvertibleException

extends MeasurementException
Class Inheritance

Signals that a problem of some sort has occurred due to the impossibility of constructing a converter between two units. For example, the multiplication of offset units are usually units not convertible to their system unit.
Authors
Jean-Marie Dautelle, Werner Keil
Version
1.0, Aug 8, 2016

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
UnconvertibleException(final String
the detail message, or null if none.
message
)

Constructs a UnconvertibleException with the given message.

public
UnconvertibleException(final Throwable
the cause of this exception, or null if none.
cause
)

Constructs a UnconvertibleException with the given cause.

public
UnconvertibleException(final String
the detail message, or null if none.
message
,
final Throwable
the cause of this exception, or null if none.
cause
)

Constructs a UnconvertibleException with the given message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.measure.MeasurementException.serialVersionUID.

For cross-version compatibility.

Constructor Detail

UnconvertibleExceptionback to summary
public UnconvertibleException(final String message)

Constructs a UnconvertibleException with the given message.

Parameters
message:String

the detail message, or null if none.

UnconvertibleExceptionback to summary
public UnconvertibleException(final Throwable cause)

Constructs a UnconvertibleException with the given cause.

Parameters
cause:Throwable

the cause of this exception, or null if none.

UnconvertibleExceptionback to summary
public UnconvertibleException(final String message, final Throwable cause)

Constructs a UnconvertibleException with the given message and cause.

Parameters
message:String

the detail message, or null if none.

cause:Throwable

the cause of this exception, or null if none.