Package hec.data
Class UnitsConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
hec.data.DataSetException
hec.data.UnitsConversionException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnitsConversionException
(Units from, Units to) UnitsConversionException
(Exception exception) The unit conversion exception was passed in a custom message to use instead of the default generated message.UnitsConversionException
(String message) The unit conversion exception was passed in a custom message to use instead of the default generated message.UnitsConversionException
(String fromUnit, String toUnit) UnitsConversionException
(String fromSys, String fromUnit, String toSys, String toUnit) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnitsConversionException
-
UnitsConversionException
-
UnitsConversionException
-
UnitsConversionException
The unit conversion exception was passed in a custom message to use instead of the default generated message.- Parameters:
message
-
-
UnitsConversionException
The unit conversion exception was passed in a custom message to use instead of the default generated message.
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-