Integer elapsed = "null".equals( elapsedStr ) ? null : Integer.decode( elapsedStr );
final StackTraceWriter stackTraceWriter =
tokens.hasMoreTokens() ? deserializeStackStraceWriter( tokens ) : null;
return group != null
? new CategorizedReportEntry( source, name, group, stackTraceWriter, elapsed, message )
: new SimpleReportEntry( source, name, stackTraceWriter, elapsed, message );
}
catch ( RuntimeException e )
{
throw new RuntimeException( untokenized, e );