class RegexReplacementException
source · line 28public
public class RegexReplacementException public constructor(
/** The original PCRE2 error code. */ public val nativeCode: Int,
/** The copied native diagnostic. */ public val detail: String,
/** The template position, if the engine reports one. */ public val offset: Long?
) : Exception(Some(detail))
- Supertype
Exception - Inherited
val message: Option<String>· Exception - Inherited
fun printStackTrace(): Unit· Throwable
An error in a replacement template; an available offset counts Unicode scalars.
constructor constructor
source · line 28public
constructor(public val nativeCode: Int, public val detail: String, public val offset: Long?)
parameter nativeCode
source · line 29public
public val nativeCode: Int
parameter detail
source · line 30public
public val detail: String
parameter offset
source · line 31public
public val offset: Long?
property nativeCode
source · line 29public
public val nativeCode: Int
get: public read-only
The original PCRE2 error code.
property detail
source · line 30public
public val detail: String
get: public read-only
The copied native diagnostic.
property offset
source · line 31public
public val offset: Long?
get: public read-only
The template position, if the engine reports one.