edu.uci.eecs.doc.clepsydra.timing
Class UnknownTimingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.uci.eecs.doc.clepsydra.timing.UnknownTimingException
All Implemented Interfaces:
Serializable

public class UnknownTimingException
extends Exception

An exception indicating that the cycle count for a Java bytecode instruction could not be determined.

Author:
Trevor Harmon
See Also:
Serialized Form

Constructor Summary
UnknownTimingException(Instruction instruction)
          Creates a new UnknownTimingException object.
UnknownTimingException(Instruction instruction, Exception cause)
          Creates a new UnknownTimingException object.
 
Method Summary
 Instruction getInstruction()
          Returns the bytecode instruction whose cycle count could not be determined.
 String getMessage()
          Returns a message describing the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

UnknownTimingException

public UnknownTimingException(Instruction instruction)
Creates a new UnknownTimingException object.

Parameters:
instruction - a bytecode instruction whose cycle count could not be determined

UnknownTimingException

public UnknownTimingException(Instruction instruction,
                              Exception cause)
Creates a new UnknownTimingException object.

Parameters:
instruction - a bytecode instruction whose cycle count could not be determined
cause - an exception that caused this exception to be thrown
Method Detail

getInstruction

public Instruction getInstruction()
Returns the bytecode instruction whose cycle count could not be determined.

Returns:
a BCEL instruction object representing the bytecode instruction

getMessage

public String getMessage()
Returns a message describing the exception.

Overrides:
getMessage in class Throwable
Returns:
a descriptive message