com.carbonfive.flash
Class InfiniteLoopException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.carbonfive.flash.ASTranslationException
                  extended by com.carbonfive.flash.InfiniteLoopException
All Implemented Interfaces:
java.io.Serializable

public class InfiniteLoopException
extends ASTranslationException

Thrown when an infinite loop is detected by LoopFinder.

See Also:
Serialized Form

Constructor Summary
InfiniteLoopException(LoopFinder finder)
           
 
Method Summary
 LoopFinder getLoopFinder()
           
 java.lang.String getMessage()
          Returns information about the infinite loop, including a buffer of recent classes encoded, and a list of possible culprits for the infinite loop.
 
Methods inherited from class com.carbonfive.flash.ASTranslationException
getRootCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InfiniteLoopException

public InfiniteLoopException(LoopFinder finder)
Method Detail

getLoopFinder

public LoopFinder getLoopFinder()

getMessage

public java.lang.String getMessage()
Returns information about the infinite loop, including a buffer of recent classes encoded, and a list of possible culprits for the infinite loop.

Overrides:
getMessage in class ASTranslationException
Returns:
the message