ariba.util.io
Interface CSVErrorHandler

All Known Implementing Classes:
CSVDefaultErrorHandler

public interface CSVErrorHandler

Handles CSV format errors found while parsing a CSV record.


Method Summary
 void handleError(int errorCode, java.lang.String location, int lineNumber)
          Handles CSV format errors found while parsing a CSV record.
 

Method Detail

handleError

void handleError(int errorCode,
                 java.lang.String location,
                 int lineNumber)
Handles CSV format errors found while parsing a CSV record. Called by CSVReader when an error is encountered. This method should never throw a RuntimeException because they will not be handled by CSVReader.

Parameters:
errorCode - Error code
location - Location (filename, URL, or other source) of CSV data being parsed
lineNumber - Line number where error was found


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.