HiRISE

HiRISE.HiPlan.SPICE
Class SPICE_Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by HiRISE.HiPlan.SPICE.SPICE_Exception
All Implemented Interfaces:
Serializable

public class SPICE_Exception
extends Exception

An exception thrown by the HiPlan SPICE subsystem. Although the ASU JSPICE system throws its own SpiceException, it is a runtime exception, and as such there is no enforcement that it be declared in an API.

Version:
1.2
Author:
Christian Schaller - UA/PIRL
See Also:
Serialized Form

Field Summary
static String ID
          Class identification name with source code version and date.
 
Constructor Summary
SPICE_Exception()
          Creates a new SPICE exception with null as its detail message.
SPICE_Exception(String message)
          Creates a new SPICE exception with the specified detail message.
SPICE_Exception(String message, Throwable cause)
          Creates a new SPICE exception with the specified detail message and cause.
SPICE_Exception(Throwable cause)
          Creates a new SPICE exception with the specified cause and a detail message that depends on the cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values
Constructor Detail

SPICE_Exception

public SPICE_Exception()
Creates a new SPICE exception with null as its detail message. The cause is not initialized, although it may subsequently be initialized by a call to its Throwable.initCause(java.lang.Throwable) method.


SPICE_Exception

public SPICE_Exception(String message)
Creates a new SPICE exception with the specified detail message. The cause is not initialized, although it may subsequently be initialized by a call to its Throwable.initCause(java.lang.Throwable) method.

Parameters:
message - the detail message.

SPICE_Exception

public SPICE_Exception(String message,
                       Throwable cause)
Creates a new SPICE exception with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause of this exception, used for exception chaining.

SPICE_Exception

public SPICE_Exception(Throwable cause)
Creates a new SPICE exception with the specified cause and a detail message that depends on the cause. If cause is null, the detail message is null; otherwise it is the toString method invoked on cause.

Parameters:
cause - the cause of this exception, used for exception chaining.
See Also:
Throwable.Throwable(Throwable)

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona