Top Inners Fields Constructors Methods
tools.jackson.dataformat.toml

public Class TomlStreamReadException

extends StreamReadException
Class Inheritance
Imports
tools.jackson.core.TokenStreamLocation, .JsonParser, tools.jackson.core.exc.StreamReadException, tools.jackson.core.io.ContentReference

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

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public TomlStreamReadException
withParser(JsonParser p)

Overrides tools.jackson.core.exc.StreamReadException.withParser.

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

Inherited from tools.jackson.core.exc.StreamReadException:
processor

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides tools.jackson.core.exc.StreamReadException.serialVersionUID.

Constructor Detail

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

Method Detail

withParserback to summary
public TomlStreamReadException withParser(JsonParser p)

Overrides tools.jackson.core.exc.StreamReadException.withParser.

Doc from tools.jackson.core.exc.StreamReadException.withParser.

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

Note

this instance is modified and no new instance is constructed.

Annotations
@Override
tools.jackson.dataformat.toml back to summary

pack-priv Class TomlStreamReadException.ErrorContext

extends Object
Class Inheritance
  • java.lang.Object
  • tools.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)
tools.jackson.dataformat.toml back to summary

pack-priv Class TomlStreamReadException.ErrorContext.ErrorBuilder

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

Field Summary

Modifier and TypeField and Description
private final TokenStreamLocation

Constructor Summary

AccessConstructor and Description
pack-priv

Field Detail

locationback to summary
private final TokenStreamLocation 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)