Package javax.measure

Class UnconvertibleException

All Implemented Interfaces:
Serializable

public class UnconvertibleException extends MeasurementException
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.
Version:
1.0, Aug 8, 2016
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
  • Constructor Details

    • UnconvertibleException

      public UnconvertibleException(String message)
      Constructs a UnconvertibleException with the given message.
      Parameters:
      message - the detail message, or null if none.
    • UnconvertibleException

      public UnconvertibleException(Throwable cause)
      Constructs a UnconvertibleException with the given cause.
      Parameters:
      cause - the cause of this exception, or null if none.
    • UnconvertibleException

      public UnconvertibleException(String message, Throwable cause)
      Constructs a UnconvertibleException with the given message and cause.
      Parameters:
      message - the detail message, or null if none.
      cause - the cause of this exception, or null if none.