}, es).whenCompleteAsync((ret, ex) -> {
if(ex != null) {
logger.error("Exception was thrown during concurrent process", ex);
- CrashHandler handle = new CrashHandler(ex);
+ CrashHandler handle = new CrashHandler(ex.getMessage(), ex);
if(ex instanceof NullPointerException) {
handle.execute();
}
- handle = new CrashHandler(new IllegalStateException(ex));
+ handle = new CrashHandler(ex.getMessage(), new IllegalStateException(ex));
handle.execute();
}
}, es);
}, es).whenCompleteAsync((ret, ex) -> {
if(ex != null) {
logger.error("Exception was thrown during concurrent process", ex);
- CrashHandler handle = new CrashHandler(ex);
+ CrashHandler handle = new CrashHandler(ex.getMessage(), ex);
if(ex instanceof NullPointerException) {
handle.execute();
}
- handle = new CrashHandler(new IllegalStateException(ex));
+ handle = new CrashHandler(ex.getMessage(), new IllegalStateException(ex));
handle.execute();
}
this.logger.debug("Loading settings...");
}, es).whenCompleteAsync((ret, ex) -> {
if(ex != null) {
logger.error("Exception was thrown during concurrent process", ex);
- CrashHandler handle = new CrashHandler(new IllegalStateException(ex));
+ CrashHandler handle = new CrashHandler(ex.getMessage(), new IllegalStateException(ex));
handle.execute();
}
}, es);
logger.error("Exception was thrown during concurrent process", ex);
if(ex instanceof IllegalArgumentException)
return; // ignore
- CrashHandler handle = new CrashHandler(new IllegalStateException(ex));
+ CrashHandler handle = new CrashHandler(ex.getMessage(), new IllegalStateException(ex));
handle.execute();
}
}, es);
}, es).whenCompleteAsync((ret, ex) -> {
if(ex != null) {
logger.error("Exception was thrown during concurrent process", ex);
- CrashHandler handle = new CrashHandler(new IllegalStateException(ex));
+ CrashHandler handle = new CrashHandler(ex.getMessage(), new IllegalStateException(ex));
handle.execute();
}
}, es);
}, es).whenCompleteAsync((ret, ex) -> {
if(ex != null) {
logger.error("Exception was thrown during concurrent process", ex);
- CrashHandler handle = new CrashHandler(new IllegalStateException(ex));
+ CrashHandler handle = new CrashHandler(ex.getMessage(), new IllegalStateException(ex));
handle.execute();
}
}, es);
CompletableFuture.runAsync(impl, es).whenCompleteAsync((t, u) -> {
if(u != null) {
logger.warn("Exception while processing update manually.", u);
- CrashHandler handle = new CrashHandler(new IllegalStateException(u));
+ CrashHandler handle = new CrashHandler(u.getMessage(), new IllegalStateException(u));
handle.execute();
JOptionPane.showMessageDialog(null, "There was a problem during processing library update manually.\nIf this appears repeatedly, please contact developer with your app log.");
}
}, es).whenCompleteAsync((ret, ex) -> {
if(ex != null) {
logger.error("Exception was thrown during concurrent process", ex);
- CrashHandler handle = new CrashHandler(new IllegalStateException(ex));
+ CrashHandler handle = new CrashHandler(ex.getMessage(), new IllegalStateException(ex));
handle.execute();
}
}, es);
labelToolProgress.setText("Information parse Complete.");
if(ex != null) {
logger.error("Exception was thrown during concurrent process", ex);
- CrashHandler handle = new CrashHandler(new IllegalStateException(ex));
+ CrashHandler handle = new CrashHandler(ex.getMessage(), new IllegalStateException(ex));
handle.execute();
}
}, es);