org.granite.generator.exception
Class TemplateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.granite.generator.exception.GenerationException
              extended by org.granite.generator.exception.TemplateException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TemplateCompilationException, TemplateExecutionException, TemplateParsingException

public abstract class TemplateException
extends GenerationException

Author:
Franck WOLFF
See Also:
Serialized Form

Constructor Summary
TemplateException(Template template, java.lang.String message)
           
TemplateException(Template template, java.lang.String message, java.lang.Throwable cause)
           
TemplateException(Template template, java.lang.Throwable cause)
           
 
Method Summary
 Template getTemplate()
           
 
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
 

Constructor Detail

TemplateException

public TemplateException(Template template,
                         java.lang.String message)

TemplateException

public TemplateException(Template template,
                         java.lang.Throwable cause)

TemplateException

public TemplateException(Template template,
                         java.lang.String message,
                         java.lang.Throwable cause)
Method Detail

getTemplate

public Template getTemplate()