Class ConversionException

  • All Implemented Interfaces:
    Serializable

    public class ConversionException
    extends RuntimeException
    Signals that a problem of some sort has occurred either when creating a converter between two units or during the conversion itself.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConversionException

        public ConversionException()
        Constructs a ConversionException with no detail message.
      • ConversionException

        public ConversionException​(String message)
        Constructs a ConversionException with the specified detail message.
        Parameters:
        message - the detail message.