001package io.ebean.text.json;
002
003/**
004 * Unchecked exception thrown when an IOException occurs in json processing.
005 * <p>
006 * Typically wraps the checked IOException.
007 * </p>
008 */
009public class JsonIOException extends RuntimeException {
010
011  private static final long serialVersionUID = 3062982368161342209L;
012
013  /**
014   * Construct with an underlying cause.
015   */
016  public JsonIOException(Throwable cause) {
017    super(cause);
018  }
019
020  /**
021   * Construct with a message.
022   */
023  public JsonIOException(String message) {
024    super(message);
025  }
026}