visad
Class UnitExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- visad.VisADException
-
- visad.UnitException
-
- visad.UnitExistsException
-
- All Implemented Interfaces:
- java.io.Serializable
public final class UnitExistsException extends UnitException
Provides support for attempting to define a unit with a previously-used identifier.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description UnitExistsException()Constructs what is essentially an emptyUnitExistsException.UnitExistsException(java.lang.String id)Creates an exception from a unit identifier.UnitExistsException(java.lang.String id, java.lang.Throwable cause)Creates an exception from a unit identifier, with a given cause.UnitExistsException(java.lang.Throwable cause)Constructs aUnitExistsExceptionwith the specified cause.
-
-
-
Constructor Detail
-
UnitExistsException
public UnitExistsException()
Constructs what is essentially an emptyUnitExistsException.Please consider using
UnitExistsException(String)orUnitExistsException(String, Throwable)instead.
-
UnitExistsException
public UnitExistsException(java.lang.String id)
Creates an exception from a unit identifier.- Parameters:
id- Unit ID.
-
UnitExistsException
public UnitExistsException(java.lang.String id, java.lang.Throwable cause)Creates an exception from a unit identifier, with a given cause.- Parameters:
id- Unit ID.cause- Cause of the exception.nullindicates that the cause is nonexistent or unknown.
-
UnitExistsException
public UnitExistsException(java.lang.Throwable cause)
Constructs aUnitExistsExceptionwith the specified cause.- Parameters:
cause- Cause of the exception.nullindicates that the cause is nonexistent or unknown.
-
-
DMelt 3.0 © DataMelt by jWork.ORG