org.apache.velocity.runtime.directive
Class ParseDirectiveException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.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,v 1.4.14.1 2004/03/03 23:22:56 geirm Exp $
Author:
Geir Magnusson Jr.
See Also:
Serialized Form

Field Summary
private  int depthCount
           
private  java.util.Stack filenameStack
           
private  java.lang.String msg
           
 
Constructor Summary
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.

Overrides:
getMessage in class java.lang.Throwable

addFile

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



Copyright ? 2002 Apache Software Foundation. All Rights Reserved.