org.peaseplate
Class TemplateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.peaseplate.TemplateException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AbstractLocatedTemplateException, TemplateDefinitionException, TemplateFormatException, TemplateLocatorException, TemplateResolverException

public class TemplateException
extends java.lang.Exception

The base exception for the Pease Plate engine. Usually it's enough to catch this exception because any other (more detailed) exception extends this class.

Author:
Manfred HANTSCHEL
See Also:
Serialized Form

Constructor Summary
TemplateException(java.lang.String message)
          Creates a new instance.
TemplateException(java.lang.String message, java.lang.Throwable cause)
          Creates a new instance with the specified message.
 
Method Summary
 
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(java.lang.String message)
Creates a new instance.

Parameters:
message - the message

TemplateException

public TemplateException(java.lang.String message,
                         java.lang.Throwable cause)
Creates a new instance with the specified message.

Parameters:
message - the messages
cause - the cause of the exception


Copyright © 2008. All Rights Reserved.