Class DuplicateEntityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.onebusaway.csv_entities.exceptions.CsvException
-
- org.onebusaway.csv_entities.exceptions.CsvEntityException
-
- org.onebusaway.gtfs.serialization.DuplicateEntityException
-
- All Implemented Interfaces:
Serializable
public class DuplicateEntityException extends org.onebusaway.csv_entities.exceptions.CsvEntityExceptionIndicates that two entities with the same id were found in a GTFS feed as it was being read.- Author:
- bdferris
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateEntityException(Class<?> entityType, Serializable id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SerializablegetId()-
Methods inherited from class org.onebusaway.csv_entities.exceptions.CsvEntityException
getEntityType
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DuplicateEntityException
public DuplicateEntityException(Class<?> entityType, Serializable id)
-
-
Method Detail
-
getId
public Serializable getId()
-
-