jpl.mipl.spice.jni
Class SpiceLib

java.lang.Object
  extended by jpl.mipl.spice.jni.SpiceLib

public class SpiceLib
extends Object

Wrapper for the C language SPICE Toolkit.

Author:
Michael Brady

Field Summary
static short ABORT
          a SPICE toolkit error action
static short DEFAULT
          a SPICE toolkit error action
static short IGNORE
          a SPICE toolkit error action
static short REPORT
          a SPICE toolkit error action
static short RETURN
          a SPICE toolkit error action
 
Method Summary
static short getErract()
          Returns the current error-handling mode.
static void setErract(short action)
          Sets the action which the toolkit will take when an error is detected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ABORT

public static final short ABORT
a SPICE toolkit error action

See Also:
Constant Field Values

IGNORE

public static final short IGNORE
a SPICE toolkit error action

See Also:
Constant Field Values

REPORT

public static final short REPORT
a SPICE toolkit error action

See Also:
Constant Field Values

RETURN

public static final short RETURN
a SPICE toolkit error action

See Also:
Constant Field Values

DEFAULT

public static final short DEFAULT
a SPICE toolkit error action

See Also:
Constant Field Values
Method Detail

getErract

public static short getErract()
Returns the current error-handling mode.

Returns:
ABORT, IGNORE, REPORT, RETURN, DEFAULT
Throws:
SpiceException - if an error was detected in the SPICE toolkit

setErract

public static void setErract(short action)
Sets the action which the toolkit will take when an error is detected.

Parameters:
action - must be ABORT, IGNORE, REPORT, RETURN, or DEFAULT
Throws:
SpiceException - if an error was detected in the SPICE toolkit