markOtherErrors( markers, 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 ( DecisionTableParseException e ) {
if ( !"No RuleTable's were found in spreadsheet.".equals( e.getMessage() ) ) {
throw e;