Class PatternSyntaxException

  • All Implemented Interfaces:
    Serializable

    public class PatternSyntaxException
    extends BaseUncheckedException
    Unchecked exception thrown to indicate a syntax error in a regular-expression pattern
    Since:
    1.0.0
    Author:
    Sidhant Agarwal
    See Also:
    Serialized Form
    • Constructor Detail

      • PatternSyntaxException

        public PatternSyntaxException​(String errorCode,
                                      String errorMessage)
        Parameters:
        errorCode - The error code defined for the exception
        errorMessage - The error message defined for the exception
      • PatternSyntaxException

        public PatternSyntaxException​(String errorCode,
                                      String errorMessage,
                                      Throwable rootCause)
        Parameters:
        errorCode - The error code defined for the exception
        errorMessage - The error message defined for the exception
        rootCause - Traceback to the method throwing the error