util
Class UserVisibleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
util.UserVisibleException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AbstractCPU.ImplementationException, AbstractCPU.InvalidInstructionException, AbstractCPU.MachineHaltException, AbstractMainMemory.InvalidAddressException, Register.TimingException
public class UserVisibleException
- extends Exception
The idea is that exceptions that are thrown from the class the defines an
exception that extends UserVisibleException will be treated as the "natural"
exception of a sequence of exceptions that are thrown from elsewhere and that all
of these subsequent unnatrual exceptions will take their identity (i.e., stack trace
from that preceeding natural exception.
- See Also:
- Serialized Form
UserVisibleException
public UserVisibleException()
UserVisibleException
public UserVisibleException(String aMessage,
int aPC,
Exception aCause)
UserVisibleException
public UserVisibleException(String aMessage,
Exception aCause)
UserVisibleException
public UserVisibleException(String aMessage)
UserVisibleException
public UserVisibleException(String aMessage,
int aPC)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
setPC
public void setPC(int aPC)
Copyright © 2010, 2011 Mike Feeley. All Rights Reserved.