Module org.pcre4j

Class Pcre2SubstituteException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Pcre2SubstituteError

public class Pcre2SubstituteException extends Pcre2Exception
An exception that occurs during a substitute operation.
See Also:
  • Constructor Details

    • Pcre2SubstituteException

      public Pcre2SubstituteException(String message, int errorCode)
      Creates a new substitute exception.
      Parameters:
      message - the error message
      errorCode - the PCRE2 native error code
    • Pcre2SubstituteException

      public Pcre2SubstituteException(String message, int errorCode, Throwable cause)
      Creates a new substitute exception.
      Parameters:
      message - the error message
      errorCode - the PCRE2 native error code
      cause - the cause of the exception, or null