Top Inners Fields Constructors Methods
com.fasterxml.jackson.dataformat.toml

public Class TomlStreamReadException

extends StreamReadException
Class Inheritance
Imports
com.fasterxml.jackson.core.JsonLocation, .JsonParser, com.fasterxml.jackson.core.exc.StreamReadException, com.fasterxml.jackson.core.io.ContentReference, com.fasterxml.jackson.core.util.RequestPayload

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.fasterxml.jackson.core.exc.StreamReadException:
_processor_requestPayload

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public TomlStreamReadException
withParser(JsonParser
Parser instance to assign to this exception
p
)

Implements abstract com.fasterxml.jackson.core.exc.StreamReadException.withParser.

Fluent method that may be used to assign originating JsonParser, to be accessed using getProcessor().

public TomlStreamReadException
withRequestPayload(RequestPayload
Payload to assign to this exception
p
)

Implements abstract com.fasterxml.jackson.core.exc.StreamReadException.withRequestPayload.

Fluent method that may be used to assign payload to this exception, to let recipient access it for diagnostics purposes.

Inherited from com.fasterxml.jackson.core.exc.StreamReadException:
getMessagegetProcessorgetRequestPayloadgetRequestPayloadAsString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.core.exc.StreamReadException.serialVersionUID.

Constructor Detail

TomlStreamReadExceptionback to summary
pack-priv TomlStreamReadException(JsonParser p, String msg, JsonLocation loc)
TomlStreamReadExceptionback to summary
pack-priv TomlStreamReadException(JsonParser p, String msg, JsonLocation loc, Throwable rootCause)

Method Detail

withParserback to summary
public TomlStreamReadException withParser(JsonParser p)

Implements abstract com.fasterxml.jackson.core.exc.StreamReadException.withParser.

Doc from com.fasterxml.jackson.core.exc.StreamReadException.withParser.

Fluent method that may be used to assign originating JsonParser, to be accessed using getProcessor().

Note

`this` instance is modified and no new instance is constructed.

Parameters
p:JsonParser

Parser instance to assign to this exception

Returns:TomlStreamReadException

This exception instance to allow call chaining

Annotations
@Override
withRequestPayloadback to summary
public TomlStreamReadException withRequestPayload(RequestPayload p)

Implements abstract com.fasterxml.jackson.core.exc.StreamReadException.withRequestPayload.

Doc from com.fasterxml.jackson.core.exc.StreamReadException.withRequestPayload.

Fluent method that may be used to assign payload to this exception, to let recipient access it for diagnostics purposes.

Note

`this` instance is modified and no new instance is constructed.

Parameters
p:RequestPayload

Payload to assign to this exception

Returns:TomlStreamReadException

This exception instance to allow call chaining

Annotations
@Override
com.fasterxml.jackson.dataformat.toml back to summary

pack-priv Class TomlStreamReadException.ErrorContext

extends Object
Class Inheritance
  • java.lang.Object
  • com.fasterxml.jackson.dataformat.toml.TomlStreamReadException.ErrorContext

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class

Field Summary

Modifier and TypeField and Description
pack-priv final ContentReference
pack-priv final JsonParser

Constructor Summary

AccessConstructor and Description
pack-priv
ErrorContext(ContentReference contentReference, JsonParser parser)

Method Summary

Modifier and TypeMethod and Description
pack-priv TomlStreamReadException.ErrorContext.ErrorBuilder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contentReferenceback to summary
pack-priv final ContentReference contentReference
parserback to summary
pack-priv final JsonParser parser

Constructor Detail

ErrorContextback to summary
pack-priv ErrorContext(ContentReference contentReference, JsonParser parser)

Method Detail

atPositionback to summary
pack-priv TomlStreamReadException.ErrorContext.ErrorBuilder atPosition(Lexer lexer)
com.fasterxml.jackson.dataformat.toml back to summary

pack-priv Class TomlStreamReadException.ErrorContext.ErrorBuilder

extends Object
Class Inheritance
  • java.lang.Object
  • com.fasterxml.jackson.dataformat.toml.TomlStreamReadException.ErrorContext.ErrorBuilder

Field Summary

Modifier and TypeField and Description
private final JsonLocation

Constructor Summary

AccessConstructor and Description
pack-priv

Field Detail

locationback to summary
private final JsonLocation location

Constructor Detail

ErrorBuilderback to summary
pack-priv ErrorBuilder(Lexer lexer)

Method Detail

genericback to summary
pack-priv TomlStreamReadException generic(String message)
invalidNumberback to summary
pack-priv TomlStreamReadException invalidNumber(Exception cause, String value)
outOfBoundsback to summary
pack-priv TomlStreamReadException outOfBounds(NumberFormatException cause)
unexpectedTokenback to summary
pack-priv TomlStreamReadException unexpectedToken(TomlToken actual, String expected)