public DroolsParserException createDroolsException ( RecognitionException e ) { List < String > codeAndMessage = createErrorMessage ( e ) ; return new DroolsParserException ( codeAndMessage . get ( 1 ) , codeAndMessage . get ( 0 ) , e . line , e . charPositionInLine , e . index , e ) ; }
This method creates a DroolsParserException full of information .