org.onebusaway.gtfs.csv.exceptions
Class CsvEntityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.onebusaway.gtfs.csv.exceptions.CsvEntityException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AgencyNotFoundForRouteException, CsvEntityIOException, DateFieldMappingFactory.DateFieldMappingException, DuplicateEntityException, EntityInstantiationException, EntityReferenceNotFoundException, IntrospectionException, InvalidStopTimeException, MethodInvocationException, MissingRequiredEntityException, MissingRequiredFieldException, MultipleCalendarsForServiceIdException, NoCsvFieldsAnnotationException, NoDefaultAgencyIdException, NoDefaultConverterException, NoSuchPropertyException, RouteNameException, UnknownAgencyTimezoneException
public abstract class CsvEntityException
- extends java.lang.RuntimeException
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
|
Constructor Summary |
CsvEntityException(java.lang.Class<?> entityType,
java.lang.String message)
|
CsvEntityException(java.lang.Class<?> entityType,
java.lang.String message,
java.lang.Throwable cause)
|
CsvEntityException(java.lang.Class<?> entityType,
java.lang.Throwable cause)
|
| 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 |
CsvEntityException
public CsvEntityException(java.lang.Class<?> entityType,
java.lang.String message)
CsvEntityException
public CsvEntityException(java.lang.Class<?> entityType,
java.lang.String message,
java.lang.Throwable cause)
CsvEntityException
public CsvEntityException(java.lang.Class<?> entityType,
java.lang.Throwable cause)
getEntityType
public java.lang.Class<?> getEntityType()
Copyright © 2010 OneBusAway. All Rights Reserved.