|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
mars.mips.hardware.AddressErrorException
public class AddressErrorException
Represents MIPS AddressErrorException. This is generated by the assembler when the source code references a memory address not valid for the context.
Constructor Summary | |
---|---|
AddressErrorException(java.lang.String message,
int exceptType,
int addr)
Constructor for the AddressErrorException class |
Method Summary | |
---|---|
int |
getAddress()
Get the erroneous memory address. |
int |
getType()
Get the exception type (load or store). |
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 |
Constructor Detail |
---|
public AddressErrorException(java.lang.String message, int exceptType, int addr)
addr
- The erroneous memory address.Method Detail |
---|
public int getAddress()
public int getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |