dioscuri.module.cpu32
Class ProcessorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by dioscuri.module.cpu32.ProcessorException
All Implemented Interfaces:
java.io.Serializable

public final class ProcessorException
extends java.lang.RuntimeException

Author:
Bram Lohman, Bart Kiers
See Also:
Serialized Form

Constructor Summary
ProcessorException(int vector, boolean pointsToSelf)
           
ProcessorException(int vector, int errorCode, boolean pointsToSelf)
           
 
Method Summary
 boolean combinesToDoubleFault(int vector)
           
 int getErrorCode()
           
 int getVector()
           
 boolean hasErrorCode()
           
 boolean pointsToSelf()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessorException

public ProcessorException(int vector,
                          int errorCode,
                          boolean pointsToSelf)
Parameters:
vector -
errorCode -
pointsToSelf -

ProcessorException

public ProcessorException(int vector,
                          boolean pointsToSelf)
Parameters:
vector -
pointsToSelf -
Method Detail

getVector

public int getVector()
Returns:
-

hasErrorCode

public boolean hasErrorCode()
Returns:
-

getErrorCode

public int getErrorCode()
Returns:
-

pointsToSelf

public boolean pointsToSelf()
Returns:
-

combinesToDoubleFault

public boolean combinesToDoubleFault(int vector)
Parameters:
vector -
Returns:
-

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable