net.sourceforge.addam.impexp.csv
Class CSVFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sourceforge.addam.impexp.csv.CSVFormatException
All Implemented Interfaces:
Serializable

public class CSVFormatException
extends Exception

This exception is thrown when one of three CSV format errors are detected: text is detected before a quoted value, after a quoted value, or an unterminated quote is detected.

Since:
Sep 19, 2004
Author:
Tim Dawson
See Also:
Serialized Form

Field Summary
private  int charNumber
           
private  int lineNumber
           
 
Constructor Summary
CSVFormatException(String msg, int lineNumber, int charNumber)
           
 
Method Summary
 int charNumber()
           
 int lineNumber()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lineNumber

private final int lineNumber

charNumber

private final int charNumber
Constructor Detail

CSVFormatException

public CSVFormatException(String msg,
                          int lineNumber,
                          int charNumber)
Method Detail

lineNumber

public int lineNumber()

charNumber

public int charNumber()


Copyright © 2005-2006 ADDAM Project Team. All Rights Reserved.