Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
Jackson Core Source Code
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java".
Jackson Core Source Code files are provided in the source packge (jackson-core-2.14.0-sources.jar). You can download it at Jackson Maven Website.
You can also browse Jackson Core Source Code below:
✍: FYIcenter.com
⏎ com/fasterxml/jackson/core/JsonGenerationException.java
/* Jackson JSON-processor.
*
* Copyright (c) 2007- Tatu Saloranta, tatu.saloranta@iki.fi
*/
package com.fasterxml.jackson.core;
import com.fasterxml.jackson.core.exc.StreamWriteException;
/**
* Exception type for exceptions during JSON writing, such as trying
* to output content in wrong context (non-matching end-array or end-object,
* for example).
*/
public class JsonGenerationException
extends StreamWriteException
{
private final static long serialVersionUID = 123; // eclipse complains otherwise
@Deprecated // since 2.7
public JsonGenerationException(Throwable rootCause) {
super(rootCause, null);
}
@Deprecated // since 2.7
public JsonGenerationException(String msg) {
super(msg, null);
}
@Deprecated // since 2.7
public JsonGenerationException(String msg, Throwable rootCause) {
super(msg, rootCause, null);
}
// @since 2.7
public JsonGenerationException(Throwable rootCause, JsonGenerator g) {
super(rootCause, g);
}
// @since 2.7
public JsonGenerationException(String msg, JsonGenerator g) {
super(msg, g);
_processor = g;
}
// @since 2.7
public JsonGenerationException(String msg, Throwable rootCause, JsonGenerator g) {
super(msg, rootCause, g);
_processor = g;
}
/**
* Fluent method that may be used to assign originating {@link JsonGenerator},
* to be accessed using {@link #getProcessor()}.
*
* @param g Generator to assign
*
* @return This exception instance (to allow call chaining)
*
* @since 2.7
*/
@Override
public JsonGenerationException withGenerator(JsonGenerator g) {
_processor = g;
return this;
}
// NOTE: overloaded in 2.13 just to retain binary compatibility with 2.12 (remove from 3.0)
@Override
public JsonGenerator getProcessor() { return _processor; }
}
⏎ com/fasterxml/jackson/core/JsonGenerationException.java
Or download all of them as a single archive file:
File name: jackson-core-2.14.0-sources.jar File size: 497693 bytes Release date: 2022-11-05 Download
⇒ Download and Install Jackson Binary Package
2016-02-03, ≈124🔥, 1💬
Popular Posts:
Woodstox 6.4.0 Source Code Files are provided at the Woodstox GitHub Website . You can download them...
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module. JDK 11 Management module ...
JDK 17 jdk.javadoc.jmod is the JMOD file for JDK 17 Java Document tool, which can be invoked by the ...
layout.jar is a component in iText Java library to provide layout functionalities. iText Java librar...
What Is junit-3.8.1.jar? junit-3.8.1.jar is the version 3.8.1 of JUnit JAR library file. JUnit is a ...