Package com.evolveum.midpoint.ninja.util
Class InputParameterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.evolveum.midpoint.ninja.util.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 usingIParameterValidator
that happens in JCommander throwsParameterException
for that.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InputParameterException(String message)
InputParameterException(String message, Integer exitCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getExitCode()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-