Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.core
Class Instr.InvalidOperand

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  avrora.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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD