drlInfo.getBuilderErrors() );
} catch ( DroolsParserException e ) {
// we have an error thrown from DrlParser
Throwable cause = e.getCause();
if ( cause instanceof RecognitionException ) {
RecognitionException recogErr = (RecognitionException) cause;
markers.add( new DroolsBuildMarker( recogErr.getMessage(),
recogErr.line ) ); //flick back the line number
}
} catch ( Exception t ) {
String message = t.getMessage();
if ( message == null || message.trim().equals( "" ) ) {