Class BadCommandArgumentsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.kie.workbench.common.command.client.exception.CommandException
-
- org.kie.workbench.common.command.client.exception.BadCommandArgumentsException
-
- All Implemented Interfaces:
Serializable
public final class BadCommandArgumentsException extends CommandException
A command argument is not valid. The command's executor should check the arguments on the context before calling the command. For example if using a bad runtime execution context where element cannot be found in the index.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadCommandArgumentsException(Command<?,?> command, Object argument, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetArgument()-
Methods inherited from class org.kie.workbench.common.command.client.exception.CommandException
cast
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-