edu.uci.eecs.doc.clepsydra.loop
Class UnknownLoopBoundException

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

public class UnknownLoopBoundException
extends Exception

An exception indicating that the iteration bound for a loop could not be determined.

Author:
Trevor Harmon
See Also:
Serialized Form

Constructor Summary
UnknownLoopBoundException(int address)
          Creates a new UnknownLoopBoundException object.
UnknownLoopBoundException(String message)
          Creates a new UnknownLoopBoundException object.
UnknownLoopBoundException(String message, Exception cause)
          Creates a new UnknownLoopBoundException object.
 
Method Summary
 int getAddress()
          Returns the bytecode offset of the loop whose bound 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

UnknownLoopBoundException

public UnknownLoopBoundException(int address)
Creates a new UnknownLoopBoundException object.

Parameters:
address - the bytecode offset of the loop whose bound could not be determined

UnknownLoopBoundException

public UnknownLoopBoundException(String message)
Creates a new UnknownLoopBoundException object.

Parameters:
message - a message describing the problem

UnknownLoopBoundException

public UnknownLoopBoundException(String message,
                                 Exception cause)
Creates a new UnknownLoopBoundException object.

Parameters:
message - a message describing the problem
Method Detail

getAddress

public int getAddress()
Returns the bytecode offset of the loop whose bound could not be determined.

Returns:
the bytecode offset of the loop whose bound could not be determined

getMessage

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

Overrides:
getMessage in class Throwable
Returns:
a descriptive message