org.melati.poem.csv
Class CSVWriteDownException

Package class diagram package CSVWriteDownException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.melati.poem.csv.CSVWriteDownException
All Implemented Interfaces:
Serializable

public class CSVWriteDownException
extends RuntimeException

Thrown when there is an error writing a CSV value to the database.

Author:
tim.pizey
See Also:
Serialized Form

Constructor Summary
CSVWriteDownException(String tableName, int lineNo, Exception e)
          Report an error on a line.
 
Method Summary
 String getMessage()
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSVWriteDownException

public CSVWriteDownException(String tableName,
                             int lineNo,
                             Exception e)
Report an error on a line.

Parameters:
tableName - name of table missing primary key
lineNo - the line number of the CSV file
e - the provoking exception
Method Detail

getMessage

public String getMessage()

Overrides:
getMessage in class Throwable
See Also:
Throwable.getMessage()


Copyright © 2000-2010 PanEris. All Rights Reserved.