org.peaseplate.lang
Class TemplateFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.peaseplate.TemplateException
              extended by org.peaseplate.lang.TemplateFormatException
All Implemented Interfaces:
java.io.Serializable

public class TemplateFormatException
extends TemplateException

See Also:
Serialized Form

Constructor Summary
TemplateFormatException(TemplateLocator locator, java.lang.String message)
          Creates the exception using the specified locator and the message.
TemplateFormatException(TemplateLocator locator, java.lang.String message, java.lang.Throwable cause)
          Creates the exception using the specified locator and the message.
 
Method Summary
 TemplateLocator getLocator()
          Returns the locator of the template where the exception occurred
 
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

TemplateFormatException

public TemplateFormatException(TemplateLocator locator,
                               java.lang.String message)
Creates the exception using the specified locator and the message.

Parameters:
locator - the locator
message - the message

TemplateFormatException

public TemplateFormatException(TemplateLocator locator,
                               java.lang.String message,
                               java.lang.Throwable cause)
Creates the exception using the specified locator and the message. Additionally it gets the cause for the exception.

Parameters:
locator - the locator
message - the message
cause - the cause
Method Detail

getLocator

public TemplateLocator getLocator()
Returns the locator of the template where the exception occurred

Returns:
the locator


Copyright © 2008. All Rights Reserved.