autohit.vm
Class VMException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--autohit.vm.VMException

public class VMException
extends java.lang.Exception

A VM exception. The specific error is given in the numeric field.

See Also:
Serialized Form

Field Summary
static int DONE
           
static int INVALID_INSTRUCTION
           
 int numeric
          Numeric.
static int PREPARE_EXCEPTION
           
static int SOFTWARE_DETECTED_FAULT
           
static int SUBSYSTEM_FAULT
           
static int UNKNOWN
          Numeric values for the exception.
static int VARIABLE_NOT_DEFINED
           
static int VARIABLE_TYPE_MISMATCH
           
 
Constructor Summary
VMException()
          Default Constructor.
VMException(int num)
          Numeric only constructor.
VMException(int num, java.lang.String message)
          Numeric and message constructor
 
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, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
Numeric values for the exception.

INVALID_INSTRUCTION

public static final int INVALID_INSTRUCTION

VARIABLE_NOT_DEFINED

public static final int VARIABLE_NOT_DEFINED

SOFTWARE_DETECTED_FAULT

public static final int SOFTWARE_DETECTED_FAULT

VARIABLE_TYPE_MISMATCH

public static final int VARIABLE_TYPE_MISMATCH

PREPARE_EXCEPTION

public static final int PREPARE_EXCEPTION

DONE

public static final int DONE

SUBSYSTEM_FAULT

public static final int SUBSYSTEM_FAULT

numeric

public int numeric
Numeric.
Constructor Detail

VMException

public VMException()
Default Constructor.

VMException

public VMException(int num)
Numeric only constructor. This will not set a text message.

VMException

public VMException(int num,
                   java.lang.String message)
Numeric and message constructor