Package org.apache.sis.console
Class InvalidCommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.sis.console.InvalidCommandException
- All Implemented Interfaces:
Serializable
Thrown when a unknown command has been given by the user on the command-line.
- Since:
- 0.3
- Version:
- 0.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The name of the invalid command.private static final long
For cross-version compatibility. -
Constructor Summary
ConstructorsConstructorDescriptionInvalidCommandException
(String message, String command) Constructs an exception with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
command
The name of the invalid command.
-
-
Constructor Details
-
InvalidCommandException
Constructs an exception with the specified detail message.- Parameters:
message
- the detail message.command
- the name of the invalid command.
-
-
Method Details
-
getCommand
Returns the name of the invalid command.- Returns:
- the name of the invalid command.
-