Class InvalidInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.yworkflow.common.error.WorkflowException
com.yworkflow.definition.model.extension.error.InvalidInputException
- All Implemented Interfaces:
Serializable
Exception thrown when workflow input validation fails. InvalidInputException is used to indicate
that input data provided to a workflow operation does not meet the required validation criteria.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new InvalidInputException with the specified error object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the object that caused the validation failure.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidInputException
Creates a new InvalidInputException with the specified error object. The error object's string representation will be used as the exception message.- Parameters:
o- the object that caused the validation failure
-
-
Method Details
-
getErrorObject
Returns the object that caused the validation failure.- Returns:
- the error object
-