org.onebusaway.csv_entities.exceptions
Class MissingRequiredFieldException
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.csv_entities.exceptions.MissingRequiredFieldException
- All Implemented Interfaces:
- 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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MissingRequiredFieldException
public MissingRequiredFieldException(Class<?> entityType,
String fieldName)
getFieldName
public String getFieldName()
Copyright © 2012 OneBusAway. All Rights Reserved.