Class ncsa.horizon.coordinates.transforms.
BadProjectionException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--ncsa.horizon.coordinates.IllegalTransformException
|
+--ncsa.horizon.coordinates.transforms.BadProjectionException
- public class BadProjectionException
- extends IllegalTransformException
This transform cannot be applied in the requested manner due to
bad projection parameters. This exception is supported by the
LinToSphLinCoordTransform class which will throw it if either
the requested projection type is unsupported or the accompanying
parameters are illegal or missing for a supported projection type.
- See Also:
- Serialized Form
|
Field Summary
|
|
static byte
|
ILLEGAL_PARAMETERS
illegal or missing parameters encountered |
|
static byte
|
OTHER
the specific problem is not explicitly identified |
|
byte
|
problem
|
|
static byte
|
UNSUPPORTED_TYPE
requested type is unsupported (or not found) |
| Methods inherited from class java.lang.Throwable |
| fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
| clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
OTHER
public static final byte OTHER
- the specific problem is not explicitly identified
UNSUPPORTED_TYPE
public static final byte UNSUPPORTED_TYPE
- requested type is unsupported (or not found)
ILLEGAL_PARAMETERS
public static final byte ILLEGAL_PARAMETERS
- illegal or missing parameters encountered
problem
protected byte problem
BadProjectionException
public BadProjectionException()
BadProjectionException
public BadProjectionException(java.lang.String s)
BadProjectionException
public BadProjectionException(byte id,
java.lang.String what)
- Construct an exception of a explicit variety
- Parameters:
id
- flavor of problem; one of OTHER, UNSUPPORTED_TYPE, or
ILLEGAL_PARAMETERS.
what
- if id=UNSUPPORTED_TYPE, this is the value of the
"projection" metadatum; otherwise it is a short description
of problem
getMessage
public java.lang.String getMessage()
- Overrides:
- getMessage in class java.lang.Throwable