io.setl.json.exception.JsonIOException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of canonical-json Show documentation
Show all versions of canonical-json Show documentation
An implementation of the Canonical JSON format with support for javax.json and Jackson
The newest version!
package io.setl.json.exception;
import java.io.IOException;
import jakarta.json.JsonException;
/**
* A JSON Exception which wraps the checked IOException.
*
* @author Simon Greatrix on 27/01/2020.
*/
public class JsonIOException extends JsonException {
private static final long serialVersionUID = 1L;
/**
* New instance with cause.
*
* @param e the cause
*/
public JsonIOException(IOException e) {
super("I/O failure", e);
}
/**
* Get the cause.
*
* @return the cause
*/
public IOException cause() {
return (IOException) getCause();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy