diff --git a/pandalib-commands/src/main/java/fr/pandacube/lib/commands/BadCommandUsage.java b/pandalib-commands/src/main/java/fr/pandacube/lib/commands/BadCommandUsage.java index bf1de47..59335b5 100644 --- a/pandalib-commands/src/main/java/fr/pandacube/lib/commands/BadCommandUsage.java +++ b/pandalib-commands/src/main/java/fr/pandacube/lib/commands/BadCommandUsage.java @@ -11,18 +11,30 @@ import java.util.logging.Logger; */ public class BadCommandUsage extends RuntimeException { + /** Constructs a new runtime exception with no message or cause. + */ public BadCommandUsage() { super(); } - + + /** Constructs a new runtime exception with the specified cause. + * @param cause the cause. + */ public BadCommandUsage(Throwable cause) { super(cause); } + /** Constructs a new runtime exception with the specified message. + * @param message the message. + */ public BadCommandUsage(String message) { super(message); } - + + /** Constructs a new runtime exception with the specified message and cause. + * @param message the message. + * @param cause the cause. + */ public BadCommandUsage(String message, Throwable cause) { super(message, cause); }