org.apache.velocity.runtime.directive
Class ParseDirectiveException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.velocity.runtime.directive.ParseDirectiveException
All Implemented Interfaces:
java.io.Serializable

public class ParseDirectiveException
extends java.lang.Exception

Exception for #parse() problems

Version:
$Id: ParseDirectiveException.java 75959 2004-03-19 17:13:40Z dlr $
Author:
Geir Magnusson Jr.
See Also:
Serialized Form

Field Summary
private  int depthCount
           
private  java.util.Stack filenameStack
           
private  java.lang.String msg
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
(package private) ParseDirectiveException(java.lang.String m, int i)
          Constructor
 
Method Summary
 void addFile(java.lang.String s)
          Add a file to the filename stack
 java.lang.String getMessage()
          Get a message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

filenameStack

private java.util.Stack filenameStack

msg

private java.lang.String msg

depthCount

private int depthCount
Constructor Detail

ParseDirectiveException

ParseDirectiveException(java.lang.String m,
                        int i)
Constructor

Method Detail

getMessage

public java.lang.String getMessage()
Get a message.


addFile

public void addFile(java.lang.String s)
Add a file to the filename stack



Copyright ? 2002 Apache Software Foundation. All Rights Reserved.