{
completionTime = new SimpleDateFormat( ISO_8601_FORMAT ).parse( completionStr.trim() );
}
catch( ParseException e )
{
throw new InvalidHandlingEventDataException(
"Invalid date format: '" + completionStr + "' must be on ISO 8601 format " + ISO_8601_FORMAT );
}
try
{
handlingEventType = HandlingEventType.valueOf( handlingEventTypeStr.trim() );
}
catch( Exception e )
{
throw new InvalidHandlingEventDataException( e.getMessage() );
}
// Step 4 - Collect parsed handling event data
ValueBuilder<ParsedHandlingEventData> parsedData = vbf.newValueBuilder( ParsedHandlingEventData.class );