de.neuland.jade4j.exceptions
Class JadeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.neuland.jade4j.exceptions.JadeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JadeCompilerException, JadeLexerException, JadeParserException

public abstract class JadeException
extends RuntimeException

See Also:
Serialized Form

Constructor Summary
JadeException(String message)
           
JadeException(String message, String filename, int lineNumber, TemplateLoader templateLoader, Throwable e)
           
 
Method Summary
 String getFilename()
           
 int getLineNumber()
           
 List<String> getTemplateLines()
           
 String toHtmlString()
           
 String toHtmlString(String generatedHtml)
           
 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

JadeException

public JadeException(String message,
                     String filename,
                     int lineNumber,
                     TemplateLoader templateLoader,
                     Throwable e)

JadeException

public JadeException(String message)
Method Detail

getFilename

public String getFilename()

getLineNumber

public int getLineNumber()

getTemplateLines

public List<String> getTemplateLines()

toString

public String toString()
Overrides:
toString in class Throwable

toHtmlString

public String toHtmlString()

toHtmlString

public String toHtmlString(String generatedHtml)


Copyright © 2013. All rights reserved.