Format tweaks
This commit is contained in:
@@ -1001,7 +1001,7 @@ public class LogFactoryImpl extends LogFactory {
|
|||||||
// Ok, the lib is there but while trying to create a real underlying
|
// Ok, the lib is there but while trying to create a real underlying
|
||||||
// logger something failed in the underlying lib; display info about
|
// logger something failed in the underlying lib; display info about
|
||||||
// that if possible.
|
// that if possible.
|
||||||
final InvocationTargetException ite = (InvocationTargetException)discoveryFlaw;
|
final InvocationTargetException ite = (InvocationTargetException) discoveryFlaw;
|
||||||
final Throwable cause = ite.getTargetException();
|
final Throwable cause = ite.getTargetException();
|
||||||
if (cause != null) {
|
if (cause != null) {
|
||||||
logDiagnostic("... InvocationTargetException: " +
|
logDiagnostic("... InvocationTargetException: " +
|
||||||
@@ -1009,7 +1009,7 @@ public class LogFactoryImpl extends LogFactory {
|
|||||||
cause.getLocalizedMessage());
|
cause.getLocalizedMessage());
|
||||||
|
|
||||||
if (cause instanceof ExceptionInInitializerError) {
|
if (cause instanceof ExceptionInInitializerError) {
|
||||||
final ExceptionInInitializerError eiie = (ExceptionInInitializerError)cause;
|
final ExceptionInInitializerError eiie = (ExceptionInInitializerError) cause;
|
||||||
final Throwable cause2 = eiie.getCause();
|
final Throwable cause2 = eiie.getCause();
|
||||||
if (cause2 != null) {
|
if (cause2 != null) {
|
||||||
final StringWriter sw = new StringWriter();
|
final StringWriter sw = new StringWriter();
|
||||||
|
|||||||
Reference in New Issue
Block a user