|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Simulator.ExceptionWatch interface allows for monitoring of exceptional conditions
in the machine state. Events such as memory access violations, (insert other exception types here), may
be caught and handled.
| Method Summary | |
void |
invalidRead(java.lang.String segment,
int address)
The invalidRead() method is invoked when an instruction attempts to read from
an out-of-bounds memory location. |
void |
invalidWrite(java.lang.String segment,
int address,
byte value)
The invalidWrite() method is invoked when an instruction attempts to write to
a read-only or out-of-bounds memory location. |
| Method Detail |
public void invalidRead(java.lang.String segment,
int address)
invalidRead() method is invoked when an instruction attempts to read from
an out-of-bounds memory location.
segment - The segment the instruction attempted to read from.address - The address within the segment of the attempted read.
public void invalidWrite(java.lang.String segment,
int address,
byte value)
invalidWrite() method is invoked when an instruction attempts to write to
a read-only or out-of-bounds memory location.
segment - The segment the instruction attempted to write into.address - The address within the segment of the disallowed write.value - The value the instruction attempted to write.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||