org.plovr
Class CircularDependencyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.plovr.CompilationException
              extended by org.plovr.CircularDependencyException
All Implemented Interfaces:
Serializable

public final class CircularDependencyException
extends CompilationException

See Also:
Serialized Form

Method Summary
 org.plovr.CompilationError createCompilationError()
           
 Collection<JsInput> getCircularDependency()
           
 JsInput getInput()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createCompilationError

public org.plovr.CompilationError createCompilationError()
Specified by:
createCompilationError in class CompilationException

getInput

public JsInput getInput()

getCircularDependency

public Collection<JsInput> getCircularDependency()
Returns:
An in-order collection of the dependency path that led to the loop.