org.onebusaway.gtfs.csv.exceptions
Class MissingRequiredEntityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.onebusaway.gtfs.csv.exceptions.CsvEntityException
                  extended by org.onebusaway.gtfs.csv.exceptions.MissingRequiredEntityException
All Implemented Interfaces:
java.io.Serializable

public class MissingRequiredEntityException
extends CsvEntityException

Indicates that the specified entity type is marked as required, but no input file or source was found for that entity.

Author:
bdferris
See Also:
EntitySchema.isRequired(), CsvFields.required(), CsvEntityMappingBean.isRequired(), Serialized Form

Constructor Summary
MissingRequiredEntityException(java.lang.Class<?> entityType, java.lang.String fileName)
           
 
Method Summary
 java.lang.String getFileName()
           
 
Methods inherited from class org.onebusaway.gtfs.csv.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

MissingRequiredEntityException

public MissingRequiredEntityException(java.lang.Class<?> entityType,
                                      java.lang.String fileName)
Method Detail

getFileName

public java.lang.String getFileName()


Copyright © 2010 OneBusAway. All Rights Reserved.