Object function ( Class arg0 , String arg1 , Exception arg2 ) { log . debug ( "srini_string" + arg0 . getName ( ) + "srini_string" + arg1 , arg2 ) ; if ( "srini_string" . equals ( arg1 ) ) { return null ; } throw arg2 ; }
when a user-supplied method throws an exception , the methodexceptioneventhandler is invoked with the class , method name and thrown exception . the handler can either return a valid object to be used as the return value of the method call , or throw the passed-in or new exception , which will be wrapped and propagated to the user as a methodinvocationexception concode_field_sep Log log concode_field_sep placeholderType placeHolder