private <T extends Throwable> ErrorExplanationFactory<T> getFactory(T throwable){ Class<? extends Throwable> cls = getBestMatchJavaClass(throwable.getClass(), factories.keySet()); if (cls != null){ return factories.get(cls); } return null; }
private <T extends Throwable> ErrorExplanationFactory<T> getFactory(T throwable){ Class<? extends Throwable> cls = getBestMatchJavaClass(throwable.getClass(), factories.keySet()); if (cls != null){ return factories.get(cls); } return null; }
private <T extends Throwable> ErrorExplanationFactory<T> getFactory(T throwable){ Class<? extends Throwable> cls = getBestMatchJavaClass(throwable.getClass(), factories.keySet()); if (cls != null){ return factories.get(cls); } return null; }