Record Class EvaluationError.RegexTooComplex
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.path.evaluator.EvaluationError.RegexTooComplex
- Record Components:
pattern- the regular expressionlimit- the limit
- All Implemented Interfaces:
EvaluationError
- Enclosing interface:
EvaluationError
public static record EvaluationError.RegexTooComplex(String pattern, int limit)
extends Record
implements EvaluationError
Overflow indication: a regular expression of match() or search() is valid, but too complex
to evaluate in the resource limits (RFC 9485, Section 8).
-
Nested Class Summary
Nested classes/interfaces inherited from interface EvaluationError
EvaluationError.ExtensionResultMismatch, EvaluationError.IntegerOutOfRange, EvaluationError.NodelistTooLarge, EvaluationError.QueryTooDeep, EvaluationError.RegexTooComplex, EvaluationError.SignatureMismatch, EvaluationError.UnknownFunction -
Constructor Summary
ConstructorsConstructorDescriptionRegexTooComplex(String pattern, int limit) Creates an instance of aRegexTooComplexrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlimit()Returns the value of thelimitrecord component.pattern()Returns the value of thepatternrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface EvaluationError
message
-
Constructor Details
-
RegexTooComplex
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
pattern
-
limit
-