Class RegexPreprocessor.RegexValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.incendo.cloud.component.preprocessor.RegexPreprocessor.RegexValidationException
- All Implemented Interfaces:
Serializable
- Enclosing class:
RegexPreprocessor<C>
@API(status=STABLE)
public static final class RegexPreprocessor.RegexValidationException
extends IllegalArgumentException
Exception thrown when input fails regex matching in
RegexPreprocessor- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the input that failed the verification.pattern()Returns the pattern that caused the string to fail.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
failedInput
Returns the input that failed the verification.- Returns:
- failed input
-
pattern
Returns the pattern that caused the string to fail.- Returns:
- the un-compiled pattern
-