com.google.clearsilver.jsilver.data
Interface Parser.ErrorHandler

Enclosing interface:
Parser

public static interface Parser.ErrorHandler

Called whenever an error occurs.


Method Summary
 void error(int line, String lineContent, String fileName, String errorMessage)
          Report an error to the ErrorHandler.
 

Method Detail

error

void error(int line,
           String lineContent,
           String fileName,
           String errorMessage)
Report an error to the ErrorHandler.

Parameters:
line - number of the line where error occurred. The value of -1 represents line number unknown
lineContent - text of the line with error
fileName - name of the file in which the error occurred
errorMessage - description of an error


Copyright © 2010-2012 Google. All Rights Reserved.