001package com.avaje.ebean.text;
002
003/**
004 * An exception occurred typically in processing CSV, JSON or XML.
005 * 
006 * @author rbygrave
007 */
008public class TextException extends RuntimeException {
009
010  private static final long serialVersionUID = 1601310159486033148L;
011
012  /**
013   * Construct with an error message.
014   */
015  public TextException(String msg) {
016    super(msg);
017  }
018
019  /**
020   * Construct with a message and cause.
021   */
022  public TextException(String msg, Exception e) {
023    super(msg, e);
024  }
025
026  /**
027   * Construct with a cause.
028   */
029  public TextException(Exception e) {
030    super(e);
031  }
032}