avrora.core
Class Instr.InvalidOperand

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byavrora.core.Instr.InvalidOperand
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Instr.InvalidImmediate, Instr.InvalidRegister
Enclosing class:
Instr

public static class Instr.InvalidOperand
extends java.lang.RuntimeException

The InvalidOperand class represents a runtime error thrown by the constructor of an instruction or the build method of a prototype when an operand does not meet the restrictions imposed by the AVR instruction set architecture.

See Also:
Serialized Form

Field Summary
 int number
          The number field of the InvalidOperand instance records which operand this error refers to.
 
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

number

public final int number
The number field of the InvalidOperand instance records which operand this error refers to. For example, if the first operand was the source of the problem, then this field will be set to 1.