org.onebusaway.csv_entities.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.csv_entities.exceptions.CsvException
                  extended by org.onebusaway.csv_entities.exceptions.CsvEntityException
                      extended by org.onebusaway.csv_entities.exceptions.NoDefaultConverterException
All Implemented Interfaces:
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(Class<?> entityType, String csvFieldName, String objFieldName, Class<?> objFieldType)
           
 
Method Summary
 String getCsvFieldName()
           
 String getObjFieldName()
           
 Class<?> getObjFieldType()
           
 
Methods inherited from class org.onebusaway.csv_entities.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(Class<?> entityType,
                                   String csvFieldName,
                                   String objFieldName,
                                   Class<?> objFieldType)
Method Detail

getCsvFieldName

public String getCsvFieldName()

getObjFieldName

public String getObjFieldName()

getObjFieldType

public Class<?> getObjFieldType()


Copyright © 2012 OneBusAway. All Rights Reserved.