Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.velocity.exception
Interface ExtendedParseException

All Known Implementing Classes:
  MacroParseException, MethodInvocationException, TemplateInitException, TemplateParseException

public interface ExtendedParseException

All Exceptions that can provide additional information about the place where the error happened (template name, column and line number) can implement this interface and the ParseErrorException will then be able to deal with this information.

Since:
  1.5
Version:
  $Id: ExtendedParseException.java 685685 2008-08-13 21:43:27Z nbubna $
Author:
  Henning P. Schmiedehausen

Method Summary
`int` | `getColumnNumber()` returns the column number where this exception occured.
`int` | `getLineNumber()` returns the line number where this exception occured.
`String` | `getTemplateName()` returns the Template name where this exception occured.

Method Detail

### getTemplateName

    public String getTemplateName()

  returns the Template name where this exception occured.

  Returns:
    The Template name where this exception occured.

### getLineNumber

    public int getLineNumber()

  returns the line number where this exception occured.

  Returns:
    The line number where this exception occured.

### getColumnNumber

    public int getColumnNumber()

  returns the column number where this exception occured.

  Returns:
    The column number where this exception occured.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.