avrora.sim
Class InterpreterError.PCAlignmentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byavrora.Avrora.Error
              extended byavrora.sim.InterpreterError.PCAlignmentException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
InterpreterError

public static class InterpreterError.PCAlignmentException
extends Avrora.Error

The PCAlignmentException is thrown if the program counter somehow becomes misaligned. This should not happen during normal execution, but is included to guard against interpreter bugs.

See Also:
Serialized Form

Field Summary
 int badPc
           
 
Fields inherited from class avrora.Avrora.Error
message, param, STACKTRACES
 
Constructor Summary
protected InterpreterError.PCAlignmentException(int pc)
           
 
Methods inherited from class avrora.Avrora.Error
getParam, report
 
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

badPc

public final int badPc
Constructor Detail

InterpreterError.PCAlignmentException

protected InterpreterError.PCAlignmentException(int pc)