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 Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getFailedString

      public @NonNull String getFailedString()
      Get the string that failed the verification
      Returns:
      Failed string
    • getPattern

      public @NonNull String getPattern()
      Get the pattern that caused the string to fail
      Returns:
      Pattern