org.onebusaway.gtfs.csv.exceptions
Class NoDefaultConverterException

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.NoDefaultConverterException
All Implemented Interfaces:
java.io.Serializable

public class NoDefaultConverterException
extends CsvEntityException

Error indicating that no default converter could be found for converting CSV string data into the specified type for the target entity's specified field. We use the ConvertUtils.lookup(Class) method to find a converter.

Author:
bdferris
See Also:
ConvertUtils, Serialized Form

Constructor Summary
NoDefaultConverterException(java.lang.Class<?> entityType, java.lang.String csvFieldName, java.lang.String objFieldName, java.lang.Class<?> objFieldType)
           
 
Method Summary
 java.lang.String getCsvFieldName()
           
 java.lang.String getObjFieldName()
           
 java.lang.Class<?> getObjFieldType()
           
 
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

NoDefaultConverterException

public NoDefaultConverterException(java.lang.Class<?> entityType,
                                   java.lang.String csvFieldName,
                                   java.lang.String objFieldName,
                                   java.lang.Class<?> objFieldType)
Method Detail

getCsvFieldName

public java.lang.String getCsvFieldName()

getObjFieldName

public java.lang.String getObjFieldName()

getObjFieldType

public java.lang.Class<?> getObjFieldType()


Copyright © 2011 OneBusAway. All Rights Reserved.