All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nz.net.osnz.common.jackson.JacksonException Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
package nz.net.osnz.common.jackson;

/**
 * Thrown from the {@link JacksonHelperApi} methods when any exception occurs during serialising or de-serialising
 * operations. Really just a runtime wrapper for the checked exceptions that the Jackson mapper throws itself.
 */
public class JacksonException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    /**
     * @see Exception#Exception()
     */
    public JacksonException() {
        super();
    }

    /**
     * @see Exception#Exception(String, Throwable)
     */
    public JacksonException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * @see Exception#Exception(String)
     */
    public JacksonException(String message) {
        super(message);
    }

    /**
     * @see Exception#Exception(Throwable)
     */
    public JacksonException(Throwable cause) {
        super(cause);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy