Serialized Form


Package org.apache.velocity.exception

Class org.apache.velocity.exception.MacroOverflowException extends VelocityException implements Serializable

serialVersionUID: 7305635093478106342L

Class org.apache.velocity.exception.MathException extends VelocityException implements Serializable

serialVersionUID: -7966507088645215583L

Class org.apache.velocity.exception.MethodInvocationException extends VelocityException implements Serializable

serialVersionUID: 7305685093478106342L

Serialized Fields

referenceName

String referenceName

methodName

String methodName

lineNumber

int lineNumber

columnNumber

int columnNumber

templateName

String templateName

Class org.apache.velocity.exception.ParseErrorException extends VelocityException implements Serializable

serialVersionUID: -6665197935086306472L

Serialized Fields

columnNumber

int columnNumber
The column number of the parsing error, or -1 if not defined.


lineNumber

int lineNumber
The line number of the parsing error, or -1 if not defined.


templateName

String templateName
The name of the template containing the error, or null if not defined.


invalidSyntax

String invalidSyntax
If applicable, contains the invalid syntax or reference that triggered this exception


msg

String msg
If we modify the message, then we set this

Class org.apache.velocity.exception.ResourceNotFoundException extends VelocityException implements Serializable

serialVersionUID: -4287732191458420347L

Class org.apache.velocity.exception.TemplateInitException extends VelocityException implements Serializable

serialVersionUID: -4985224672336070621L

Serialized Fields

templateName

String templateName

col

int col

line

int line

Class org.apache.velocity.exception.VelocityException extends RuntimeException implements Serializable

serialVersionUID: 1251243065134956045L


Package org.apache.velocity.runtime.directive

Class org.apache.velocity.runtime.directive.MacroParseException extends ParseException implements Serializable

serialVersionUID: -4985224672336070689L

Serialized Fields

templateName

String templateName

Class org.apache.velocity.runtime.directive.StopCommand extends Error implements Serializable

serialVersionUID: 2577683435802825964L

Serialized Fields

stopMe

Object stopMe

nearest

boolean nearest

Package org.apache.velocity.runtime.parser

Class org.apache.velocity.runtime.parser.ParseException extends Exception implements Serializable

serialVersionUID: -309603325673449381L

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

String eol
The end of line string for this machine.

Class org.apache.velocity.runtime.parser.TemplateParseException extends ParseException implements Serializable

serialVersionUID: -3146323135623083918L

Serialized Fields

templateName

String templateName
This is the name of the template which contains the parsing error, or null if not defined.

Class org.apache.velocity.runtime.parser.Token extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

kind

int kind
An integer that describes the kind of this token. This numbering system is determined by JavaCCParser, and a table of these numbers is stored in the file ...Constants.java.


beginLine

int beginLine
The line number of the first character of this Token.


beginColumn

int beginColumn
The column number of the first character of this Token.


endLine

int endLine
The line number of the last character of this Token.


endColumn

int endColumn
The column number of the last character of this Token.


image

String image
The string image of the token.


next

Token next
A reference to the next regular (non-special) token from the input stream. If this is the last token from the input stream, or if the token manager has not read tokens beyond this one, this field is set to null. This is true only if this token is also a regular token. Otherwise, see below for a description of the contents of this field.


specialToken

Token specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. If there are no such special tokens, this field is set to null. When there are more than one such special token, this field refers to the last of these special tokens, which in turn refers to the next previous special token through its specialToken field, and so on until the first special token (whose specialToken field is null). The next fields of special tokens refer to other special tokens that immediately follow it (without an intervening regular token). If there is no such token, this field is null.

Class org.apache.velocity.runtime.parser.TokenMgrError extends Error implements Serializable

serialVersionUID: 1L

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.


Package org.apache.velocity.util.introspection

Class org.apache.velocity.util.introspection.MethodMap.AmbiguousException extends RuntimeException implements Serializable

serialVersionUID: -2314636505414551663L



Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.