Class InputParameterException

  • All Implemented Interfaces:
    Serializable

    public class InputParameterException
    extends RuntimeException
    Exception that is thrown when action execution is in progress and input parameters combination is invalid, e.g. when two mutually exclusive parameters are specified Not to be used for validation of individual parameters, parameter parsing using IParameterValidator that happens in JCommander throws ParameterException for that.
    See Also:
    Serialized Form
    • Constructor Detail

      • InputParameterException

        public InputParameterException​(String message)
      • InputParameterException

        public InputParameterException​(String message,
                                       Integer exitCode)
    • Method Detail

      • getExitCode

        public Integer getExitCode()