Class CommandException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.nuxeo.ecm.platform.commandline.executor.api.CommandException
All Implemented Interfaces:
Serializable

public class CommandException extends Exception
Exception indicating that the target command execution failed:
  • because it threw an exception,
  • because it exited with a non zero return code.
Since:
5.7.3
See Also:
  • Constructor Details

    • CommandException

      public CommandException(String message)
    • CommandException

      public CommandException(String message, Throwable cause)