# Serialized Form

## Package org.apache.velocity

### Class org.apache.velocity.VelocityContext

class VelocityContext extends AbstractContext implements Serializable

serialVersionUID:
  9033846851064645037L

#### Serialized Fields

##### context

    Map<String,Object> context

Storage for key/value pairs.

## Package org.apache.velocity.exception

### Exception Class org.apache.velocity.exception.MacroOverflowException

class MacroOverflowException extends VelocityException implements Serializable

serialVersionUID:
  7305635093478106342L

### Exception Class org.apache.velocity.exception.MathException

class MathException extends VelocityException implements Serializable

serialVersionUID:
  -7966507088645215583L

### Exception Class org.apache.velocity.exception.MethodInvocationException

class MethodInvocationException extends VelocityException implements Serializable

serialVersionUID:
  7305685093478106342L

#### Serialized Fields

##### columnNumber

    int columnNumber

##### lineNumber

    int lineNumber

##### methodName

    String methodName

##### referenceName

    String referenceName

##### templateName

    String templateName

### Exception Class org.apache.velocity.exception.ParseErrorException

class ParseErrorException extends VelocityException implements Serializable

serialVersionUID:
  -6665197935086306472L

#### Serialized Fields

##### columnNumber

    int columnNumber

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

##### invalidSyntax

    String invalidSyntax

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

##### lineNumber

    int lineNumber

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

##### msg

    String msg

If we modify the message, then we set this

##### templateName

    String templateName

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

### Exception Class org.apache.velocity.exception.ResourceNotFoundException

class ResourceNotFoundException extends VelocityException implements Serializable

serialVersionUID:
  -4287732191458420347L

### Exception Class org.apache.velocity.exception.TemplateInitException

class TemplateInitException extends VelocityException implements Serializable

serialVersionUID:
  -4985224672336070621L

#### Serialized Fields

##### col

    int col

##### line

    int line

##### templateName

    String templateName

### Exception Class org.apache.velocity.exception.VelocityException

class VelocityException extends RuntimeException implements Serializable

serialVersionUID:
  1251243065134956045L

#### Serialized Fields

##### logContext

    LogContext logContext

LogContext VTL location tracking context

##### vtlStackTrace

    String[] vtlStackTrace

VTL vtlStackTrace, populated at construction when runtime.log.track_location is true

## Package org.apache.velocity.runtime.directive

### Exception Class org.apache.velocity.runtime.directive.MacroParseException

class MacroParseException extends ParseException implements Serializable

serialVersionUID:
  -4985224672336070689L

#### Serialized Fields

##### templateName

    String templateName

### Exception Class org.apache.velocity.runtime.directive.StopCommand

class StopCommand extends Error implements Serializable

serialVersionUID:
  2577683435802825964L

#### Serialized Fields

##### nearest

    boolean nearest

##### stopMe

    Object stopMe

## Package org.apache.velocity.runtime.parser

### Exception Class org.apache.velocity.runtime.parser.ParseException

class ParseException extends Exception implements Serializable

serialVersionUID:
  -309603325673449381L

#### Serialized Fields

##### 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.

##### eol

    String eol

The end of line string for this machine.

##### 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.

##### 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).

##### 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.

### Exception Class org.apache.velocity.runtime.parser.TemplateParseException

class 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

class Token extends Object implements Serializable

serialVersionUID:
  1L

#### Serialized Fields

##### beginColumn

    int beginColumn

The column number of the first character of this Token.

##### beginLine

    int beginLine

The line number of the first character of this Token.

##### endColumn

    int endColumn

The column number of the last character of this Token.

##### endLine

    int endLine

The line number of the last character of this Token.

##### image

    String image

The string image of the token.

##### 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.

##### 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.

### Exception Class org.apache.velocity.runtime.parser.TokenMgrError

class 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

### Class org.apache.velocity.util.DeprecationAwareExtProperties

class DeprecationAwareExtProperties extends Hashtable<String,Object> implements Serializable

#### Serialized Fields

##### warned

    Set<String> warned

Deprecated.
Set of old property names for which a warning has already been emitted

### Class org.apache.velocity.util.ExtProperties

class ExtProperties extends DeprecationAwareExtProperties implements Serializable

#### Serialized Fields

##### basePath

    String basePath

Base path of the configuration file used to create this ExtProperties object.

##### defaults

    ExtProperties defaults

Default configurations repository.

##### file

    String file

The file connected to this repository (holding comments and such).

##### fileSeparator

    String fileSeparator

File separator.

##### isInitialized

    boolean isInitialized

Has this configuration been initialized.

##### keysAsListed

    ArrayList<String> keysAsListed

These are the keys in the order they listed in the configuration file. This is useful when you wish to perform operations with configuration information in a particular order.

### Class org.apache.velocity.util.StringBuilderWriter

class StringBuilderWriter extends Writer implements Serializable

serialVersionUID:
  -146927496096066153L

#### Serialized Fields

##### builder

    StringBuilder builder

## Package org.apache.velocity.util.introspection

### Exception Class org.apache.velocity.util.introspection.MethodMap.AmbiguousException

class AmbiguousException extends RuntimeException implements Serializable

serialVersionUID:
  -2314636505414551663L