org.onebusaway.gtfs.csv.exceptions
Class CsvEntityIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.onebusaway.gtfs.csv.exceptions.CsvEntityException
                  extended by org.onebusaway.gtfs.csv.exceptions.CsvEntityIOException
All Implemented Interfaces:
java.io.Serializable

public class CsvEntityIOException
extends CsvEntityException

Indicates an error was thrown when reading / writing CSV. This exception provides information about line number and path information about where the error occurred.

Author:
bdferris
See Also:
Serialized Form

Constructor Summary
CsvEntityIOException(java.lang.Class<?> entityType, java.lang.String path, int lineNumber, java.lang.Throwable cause)
           
 
Method Summary
 int getLineNumber()
           
 java.lang.String getPath()
           
 
Methods inherited from class org.onebusaway.gtfs.csv.exceptions.CsvEntityException
getEntityType
 
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
 

Constructor Detail

CsvEntityIOException

public CsvEntityIOException(java.lang.Class<?> entityType,
                            java.lang.String path,
                            int lineNumber,
                            java.lang.Throwable cause)
Method Detail

getPath

public java.lang.String getPath()

getLineNumber

public int getLineNumber()


Copyright © 2011 OneBusAway. All Rights Reserved.