org.onebusaway.csv_entities.exceptions
Class CsvEntityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.onebusaway.csv_entities.exceptions.CsvException
org.onebusaway.csv_entities.exceptions.CsvEntityException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CsvEntityIOException, DateFieldMappingFactory.DateFieldMappingException, DecimalFieldMappingFactory.DateFieldMappingException, EntityInstantiationException, IntrospectionException, InvalidValueEntityException, MethodInvocationException, MissingRequiredEntityException, MissingRequiredFieldException, NoCsvFieldsAnnotationException, NoDefaultConverterException, NoSuchPropertyException
public abstract class CsvEntityException
- extends CsvException
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. That is, you typically just log
them and exit.
- Author:
- bdferris
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CsvEntityException
public CsvEntityException(Class<?> entityType,
String message)
CsvEntityException
public CsvEntityException(Class<?> entityType,
String message,
Throwable cause)
CsvEntityException
public CsvEntityException(Class<?> entityType,
Throwable cause)
getEntityType
public Class<?> getEntityType()
Copyright © 2012 OneBusAway. All Rights Reserved.