visad.data.units
Class NoSuchUnitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- visad.data.units.ParseException
-
- visad.data.units.NoSuchUnitException
-
- All Implemented Interfaces:
- java.io.Serializable
public class NoSuchUnitException extends ParseException
Exception thrown when a unit specification can't be parsed because of an unknown unit.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class visad.data.units.ParseException
currentToken, expectedTokenSequences, tokenImage
-
-
Constructor Summary
Constructors Constructor and Description NoSuchUnitException()Constructs aNoSuchUnitExceptionwith no specified detail message.NoSuchUnitException(java.lang.String message)Constructs aNoSuchUnitExceptionwith the specified detail message.NoSuchUnitException(java.lang.String message, java.lang.Throwable cause)Constructs aNoSuchUnitExceptionwith the specified detail message and cause.NoSuchUnitException(java.lang.Throwable cause)Constructs aNoSuchUnitExceptionwith the specified cause.
-
Method Summary
-
Methods inherited from class visad.data.units.ParseException
getMessage
-
-
-
-
Constructor Detail
-
NoSuchUnitException
public NoSuchUnitException()
Constructs aNoSuchUnitExceptionwith no specified detail message.
-
NoSuchUnitException
public NoSuchUnitException(java.lang.String message)
Constructs aNoSuchUnitExceptionwith the specified detail message.- Parameters:
message- Detail message.
-
NoSuchUnitException
public NoSuchUnitException(java.lang.String message, java.lang.Throwable cause)Constructs aNoSuchUnitExceptionwith the specified detail message and cause.- Parameters:
message- Detail message.cause- Cause of the exception.nullindicates that the cause is nonexistent or unknown.
-
NoSuchUnitException
public NoSuchUnitException(java.lang.Throwable cause)
Constructs aNoSuchUnitExceptionwith the specified cause.- Parameters:
cause- Cause of the exception.nullindicates that the cause is nonexistent or unknown.
-
-
DMelt 3.0 © DataMelt by jWork.ORG