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/JacksonException.java
package com.fasterxml.jackson.core;
/**
* Base class for all Jackson-produced checked exceptions.
*<p>
* For Jackson 2.x this base type is not widely used (instead, its main subtype
* {@link JsonProcessingException} is): it is provided more for forwards-compatibility
* purposes as 3.x will base all other types directly on it and deprecate
* {@link JsonProcessingException} (as well as chance its type to unchecked).
*
* @since 2.12
*/
public abstract class JacksonException extends java.io.IOException
{
private final static long serialVersionUID = 123; // eclipse complains otherwise
protected JacksonException(String msg) {
super(msg);
}
protected JacksonException(Throwable t) {
super(t);
}
protected JacksonException(String msg, Throwable rootCause) {
super(msg, rootCause);
// 23-Sep-2020, tatu: before 2.12, had null checks for some reason...
// But I don't think that is actually required; Javadocs for
// `java.lang.Throwable` constructor claim {@code null} is fine.
/* if (rootCause != null) {
initCause(rootCause);
}*/
}
/*
/**********************************************************************
/* Extended API
/**********************************************************************
*/
/**
* Accessor for location information related to position within input
* or output (depending on operation), if available; if not available
* may return {@code null}.
*<p>
* Accuracy of location information depends on backend (format) as well
* as (in some cases) operation being performed.
*
* @return Location in input or output that triggered the problem reported, if
* available; {@code null} otherwise.
*/
public abstract JsonLocation getLocation();
/**
* Method that allows accessing the original "message" argument,
* without additional decorations (like location information)
* that overridden {@link #getMessage} adds.
*
* @return Original, unmodified {@code message} argument used to construct
* this exception instance
*/
public abstract String getOriginalMessage();
/**
* Method that allows accessing underlying processor that triggered
* this exception; typically either {@link JsonParser} or {@link JsonGenerator}
* for exceptions that originate from streaming API, but may be other types
* when thrown by databinding.
*<p>
* Note that it is possible that {@code null} may be returned if code throwing
* exception either has no access to the processor; or has not been retrofitted
* to set it; this means that caller needs to take care to check for nulls.
* Subtypes override this method with co-variant return type, for more
* type-safe access.
*
* @return Originating processor, if available; {@code null} if not.
*/
public abstract Object getProcessor();
}
⏎ com/fasterxml/jackson/core/JacksonException.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, ≈109🔥, 1💬
Popular Posts:
JDK 17 jdk.jlink.jmod is the JMOD file for JDK 17 JLink tool, which can be invoked by the "jlink" co...
JDK 17 jdk.jlink.jmod is the JMOD file for JDK 17 JLink tool, which can be invoked by the "jlink" co...
JDK 11 jdk.internal.vm.compiler .jmodis the JMOD file for JDK 11 Internal VM Compiler module. JDK 11...
Java Servlet API 3.0.1 Source Code Files are important if you want to compile them with different JD...
JDK 11 jdk.dynalink.jmod is the JMOD file for JDK 11 Dynamic Linking module. JDK 11 Dynamic Linking ...