Package org.onebusaway.gtfs.csv.exceptions

Exception Summary
CsvEntityException Extend from Exception or RuntimeException? The debate rages on, but I chose to extend from RuntimeException to maintain compatibility with existing method signatures and because most of the exceptions thrown here are non-recoverable.
CsvEntityIOException Indicates an error was thrown when reading / writing CSV.
EntityInstantiationException Indicates an error when attempting to instantiate an instance of the specified entity type
IntrospectionException Indicates that introspection failed for the specified entity type.
MethodInvocationException Indicates an error when attempting to invoke the specified method on an instance of the specified entity class
MissingRequiredEntityException Indicates that the specified entity type is marked as required, but no input file or source was found for that entity.
MissingRequiredFieldException Indiciates that the specified field for the specified entity type is marked as required, but that no value was included in either the CSV source (just an empty value) or the entity object (null value).
NoCsvFieldsAnnotationException Indicates that an entity type was passed to AnnotationDrivenEntitySchemaFactory for introspection and the specified entity type did not have a CsvFields class annotation
NoDefaultConverterException 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.
NoSuchPropertyException Indicates that the specified entity type does not have a property with the given name, or that there was an error examining the property.
 



Copyright © 2010 OneBusAway. All Rights Reserved.