Class CommandFailedException

    • Constructor Detail

      • CommandFailedException

        public CommandFailedException​(int returnCode,
                                      String message)
        Constructor for CommandFailedException
        Parameters:
        returnCode - return code returned by the command
        message - error message
      • CommandFailedException

        public CommandFailedException​(int returnCode,
                                      String message,
                                      Throwable cause)
        Constructor for CommandFailedException
        Parameters:
        returnCode - return code returned by the command
        message - error message
        cause - exception causing this exception
    • Method Detail

      • getReturnCode

        public int getReturnCode()
        Get return code returned by the command
        Returns:
        return code returned by the command