Package com.yworkflow.extension.error
Class InvalidInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.yworkflow.common.error.WorkflowException
com.yworkflow.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.
This exception is typically thrown by workflow validators when they detect invalid input data, such as missing required fields, incorrect data formats, or values that violate business rules.
The exception includes the original error object that caused the validation failure, allowing for detailed error reporting and debugging.
- 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
-