Class Segment.AddressOutOfBoundsException

  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byavrora.Avrora.Error
              extended byavrora.sim.Segment.AddressOutOfBoundsException
All Implemented Interfaces:
Enclosing class:

public class Segment.AddressOutOfBoundsException
extends Avrora.Error

The AddressOutOfBoundsException class represents an error when using the get() and set() methods where the user specifies an address that is out of the bounds of the segment. Note that this exception is not thrown in the case of read() and write() methods making accesses out of bounds; in that case, the ErrorReporter object is consulted.

See Also:
Serialized Form

Field Summary
 int data_addr
Fields inherited from class avrora.Avrora.Error
message, param, STACKTRACES
Constructor Summary
protected Segment.AddressOutOfBoundsException(int da)
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


public final int data_addr
Constructor Detail


protected Segment.AddressOutOfBoundsException(int da)