private Method findMethod(Class<?> clazz, Method method) {
    try {
      return clazz.getMethod(method.getName(), method.getParameterTypes());
    } catch (NoSuchMethodException e) {
      return null;
    }
  }
Wraps the given ErrorHandler to log the error stacks
ambari-server/src/main/java/org/apache/ambari/server/api/AmbariViewErrorHandlerProxy.java