Class RegexPreprocessor.RegexValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
cloud.commandframework.arguments.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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getFailedString
Get the string that failed the verification- Returns:
- Failed string
-
getPattern
Get the pattern that caused the string to fail- Returns:
- Pattern
-