Class ErrorReportConfiguration.Builder
java.lang.Object
tools.jackson.core.ErrorReportConfiguration.Builder
- Enclosing class:
ErrorReportConfiguration
- Since:
- 2.16
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()maxErrorTokenLength(int maxErrorTokenLength) maxRawContentLength(int maxRawContentLength)
-
Field Details
-
maxErrorTokenLength
private int maxErrorTokenLength -
maxRawContentLength
private int maxRawContentLength
-
-
Constructor Details
-
Builder
Builder() -
Builder
Builder(int maxErrorTokenLength, int maxRawContentLength) -
Builder
Builder(ErrorReportConfiguration src)
-
-
Method Details
-
maxErrorTokenLength
- Parameters:
maxErrorTokenLength- Maximum error token length setting to use- Returns:
- This factory instance (to allow call chaining)
- Throws:
IllegalArgumentException- ifmaxErrorTokenLengthis less than 0
-
maxRawContentLength
- Parameters:
maxRawContentLength- Maximum raw content setting to use- Returns:
- This builder instance (to allow call chaining)
- See Also:
-
build
-