本文整理了Java中org.apache.commons.logging.LogFactory.handleThrowable()
方法的一些代码示例,展示了LogFactory.handleThrowable()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LogFactory.handleThrowable()
方法的具体详情如下:
包路径:org.apache.commons.logging.LogFactory
类名称:LogFactory
方法名:handleThrowable
[英]Checks whether the supplied Throwable is one that needs to be re-thrown and ignores all others. The following errors are re-thrown:
代码示例来源:origin: commons-logging/commons-logging
result = (Hashtable) implementationClass.newInstance();
} catch (Throwable t) {
handleThrowable(t); // may re-throw t
代码示例来源:origin: Nextdoor/bender
result = (Hashtable) implementationClass.newInstance();
} catch (Throwable t) {
handleThrowable(t); // may re-throw t
代码示例来源:origin: org.apache.openjpa/openjpa-all
result = (Hashtable) implementationClass.newInstance();
} catch (Throwable t) {
handleThrowable(t); // may re-throw t
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
result = (Hashtable) implementationClass.newInstance();
} catch (Throwable t) {
handleThrowable(t); // may re-throw t
代码示例来源:origin: Nextdoor/bender
throw new LogConfigurationException(c == null ? e : c);
} catch (Throwable t) {
handleThrowable(t); // may re-throw t
代码示例来源:origin: Nextdoor/bender
" the one loaded from classloader " + objectId(logInterfaceClassLoader));
} catch (Throwable t) {
handleThrowable(t); // may re-throw t
logDiagnostic("Error while trying to output diagnostics about" + " bad class '" + badClass + "'");
代码示例来源:origin: Nextdoor/bender
handleThrowable(t); // may re-throw t
logDiagnostic("Found method setLogFactory(LogFactory) in '" + logAdapterClassName + "'");
} catch (Throwable t) {
handleThrowable(t); // may re-throw t
this.logMethod = null;
logDiagnostic("[INFO] '" + logAdapterClassName + "' from classloader " + objectId(currentCL) +
内容来源于网络,如有侵权,请联系作者删除!