Class ErrorReportConfiguration

java.lang.Object
com.fasterxml.jackson.core.ErrorReportConfiguration
All Implemented Interfaces:
Serializable

public class ErrorReportConfiguration extends Object implements Serializable
Container for configuration values used when handling errorneous token inputs. For example, unquoted text segments.

Currently default settings are

  • Maximum length of token to include in error messages (see _maxErrorTokenLength)
  • Maximum length of raw content to include in error messages (see _maxRawContentLength)
Since:
2.16
See Also:
  • Field Details

    • DEFAULT_MAX_ERROR_TOKEN_LENGTH

      public static final int DEFAULT_MAX_ERROR_TOKEN_LENGTH
      Default value for _maxErrorTokenLength.
      See Also:
    • DEFAULT_MAX_RAW_CONTENT_LENGTH

      public static final int DEFAULT_MAX_RAW_CONTENT_LENGTH
      Previously was com.fasterxml.jackson.core.io.ContentReference#DEFAULT_MAX_CONTENT_SNIPPET. Default value for _maxRawContentLength.
      See Also:
  • Method Details