mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 11:00:38 +00:00
Print stack trace of exception causes in verbose mode
This commit is contained in:
parent
e3c37a0239
commit
2044a7d7a5
32 changed files with 66 additions and 60 deletions
|
@ -5,4 +5,8 @@ public class CommandException extends Exception {
|
|||
public CommandException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public CommandException(final String message, final Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package org.asamk.signal.commands.exceptions;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public final class IOErrorException extends CommandException {
|
||||
|
||||
public IOErrorException(final String message) {
|
||||
super(message);
|
||||
public IOErrorException(final String message, IOException cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package org.asamk.signal.commands.exceptions;
|
|||
|
||||
public final class UnexpectedErrorException extends CommandException {
|
||||
|
||||
public UnexpectedErrorException(final String message) {
|
||||
super(message);
|
||||
public UnexpectedErrorException(final String message, final Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue