org.stjs.generator
Class JavascriptFileGenerationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.stjs.generator.STJSRuntimeException
                  extended by org.stjs.generator.JavascriptFileGenerationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MultipleFileGenerationException

public class JavascriptFileGenerationException
extends STJSRuntimeException

This is the exception thrown by the Generator.

Author:
Alexandru Craciun
See Also:
Serialized Form

Constructor Summary
JavascriptFileGenerationException(SourcePosition sourcePosition, String message)
           
JavascriptFileGenerationException(SourcePosition sourcePosition, String message, Throwable cause)
           
JavascriptFileGenerationException(SourcePosition sourcePosition, Throwable cause)
           
 
Method Summary
 SourcePosition getSourcePosition()
           
 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

JavascriptFileGenerationException

public JavascriptFileGenerationException(@Nonnull
                                         SourcePosition sourcePosition,
                                         String message,
                                         Throwable cause)

JavascriptFileGenerationException

public JavascriptFileGenerationException(@Nonnull
                                         SourcePosition sourcePosition,
                                         String message)

JavascriptFileGenerationException

public JavascriptFileGenerationException(@Nonnull
                                         SourcePosition sourcePosition,
                                         Throwable cause)
Method Detail

getSourcePosition

public SourcePosition getSourcePosition()

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2014. All Rights Reserved.