ariba.util.io
Class CSVDefaultErrorHandler

java.lang.Object
  extended by ariba.util.io.CSVDefaultErrorHandler
All Implemented Interfaces:
CSVErrorHandler

public class CSVDefaultErrorHandler
extends java.lang.Object
implements CSVErrorHandler

Default implementation used by CSVReader for handling CSV format errors found while parsing a CSV record.


Constructor Summary
CSVDefaultErrorHandler()
           
 
Method Summary
 void handleError(int errorCode, java.lang.String location, int lineNumber)
          Handles CSV format errors found while parsing a CSV record.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVDefaultErrorHandler

public CSVDefaultErrorHandler()
Method Detail

handleError

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

Specified by:
handleError in interface CSVErrorHandler
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.