public B error ( ) { ErrorEventDefinition errorEventDefinition = createInstance ( ErrorEventDefinition . class ) ; element . getEventDefinitions ( ) . add ( errorEventDefinition ) ; return myself ; }
Sets a catch all error definition .