Class CommandNotAvailable
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.nuxeo.ecm.platform.commandline.executor.api.CommandNotAvailable
-
- All Implemented Interfaces:
Serializable
public class CommandNotAvailable extends Exception
Exception indicating that the target command is not available:- because it was never registered,
- because it was disabled,
- because the target command is not installed on the server *.
- Author:
- tiry
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CommandAvailabilityavailability
-
Constructor Summary
Constructors Constructor Description CommandNotAvailable(CommandAvailability availability)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()StringgetInstallMessage()StringgetMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
availability
protected final CommandAvailability availability
-
-
Constructor Detail
-
CommandNotAvailable
public CommandNotAvailable(CommandAvailability availability)
-
-
Method Detail
-
getInstallMessage
public String getInstallMessage()
-
getErrorMessage
public String getErrorMessage()
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable- Since:
- 5.5
-
-