Cisco Systems, Inc.

com.pcube.apps.engage.common
Class CSVParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.pcube.apps.engage.common.CSVParserException
All Implemented Interfaces:
java.io.Serializable

public class CSVParserException
extends java.lang.Exception

An exception which occurs while reading from a CSV file.

See Also:
Serialized Form

Constructor Summary
CSVParserException(java.lang.String s, int lineno)
          CSVParserException Constructor.
 
Method Summary
 int getLineNumber()
          Gets the number of line in the CSV file in which the error occured.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSVParserException

public CSVParserException(java.lang.String s,
                          int lineno)
CSVParserException Constructor.

Parameters:
s -
lineno -
Method Detail

getLineNumber

public int getLineNumber()
Gets the number of line in the CSV file in which the error occured.

Returns:
the line in the CSV file which the an error

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.