org.onebusaway.gtfs.csv.exceptions
Class MissingRequiredFieldException

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.MissingRequiredFieldException
All Implemented Interfaces:
java.io.Serializable

public class MissingRequiredFieldException
extends CsvEntityException

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).

Author:
bdferris
See Also:
CsvField.optional(), CsvFieldMappingBean.isOptional(), Serialized Form

Constructor Summary
MissingRequiredFieldException(java.lang.Class<?> entityType, java.lang.String fieldName)
           
 
Method Summary
 java.lang.String getFieldName()
           
 
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

MissingRequiredFieldException

public MissingRequiredFieldException(java.lang.Class<?> entityType,
                                     java.lang.String fieldName)
Method Detail

getFieldName

public java.lang.String getFieldName()


Copyright © 2010 OneBusAway. All Rights Reserved.