Method function ( Class < ? extends Exception > arg0 ) { Method loc0 = this . exceptionLookupCache . get ( arg0 ) ; if ( loc0 == null ) { loc0 = getMappedMethod ( arg0 ) ; this . exceptionLookupCache . put ( arg0 , ( loc0 != null ? loc0 : NO_METHOD_FOUND ) ) ; } return ( loc0 != NO_METHOD_FOUND ? loc0 : null ) ; }
find a method to handle the given exception type . this can beuseful if an exception instance is not available e.g. for tools . concode_field_sep Method NO_METHOD_FOUND concode_elem_sep Map<Class<? extends Throwable>,Method> exceptionLookupCache concode_elem_sep Map<Class<? extends Throwable>,Method> mappedMethods concode_elem_sep MethodFilter EXCEPTION_HANDLER_METHODS concode_field_sep boolean hasExceptionMappings concode_elem_sep Method resolveMethod concode_elem_sep void detectAnnotationExceptionMappings concode_elem_sep void addExceptionMapping concode_elem_sep Method getMappedMethod concode_elem_sep List<Class<? extends Throwable>> detectExceptionMappings concode_elem_sep boolean matches