001 package org.LiveGraph.dataFile.common;
002
003
004 /**
005 * Thrown by {@code org.LiveGraph.dataFile.read.DataStreamReader} when the data stream does
006 * not have the expected format.
007 *
008 * <p style="font-size:smaller;">This product includes software developed by the
009 * <strong>LiveGraph</strong> project and its contributors.<br />
010 * (<a href="http://www.live-graph.org" target="_blank">http://www.live-graph.org</a>)<br />
011 * Copyright (c) 2007-2008 G. Paperin.<br />
012 * All rights reserved.
013 * </p>
014 * <p style="font-size:smaller;">File: DataFormatException.java</p>
015 * <p style="font-size:smaller;">Redistribution and use in source and binary forms, with or
016 * without modification, are permitted provided that the following terms and conditions are met:
017 * </p>
018 * <p style="font-size:smaller;">1. Redistributions of source code must retain the above
019 * acknowledgement of the LiveGraph project and its web-site, the above copyright notice,
020 * this list of conditions and the following disclaimer.<br />
021 * 2. Redistributions in binary form must reproduce the above acknowledgement of the
022 * LiveGraph project and its web-site, the above copyright notice, this list of conditions
023 * and the following disclaimer in the documentation and/or other materials provided with
024 * the distribution.<br />
025 * 3. All advertising materials mentioning features or use of this software or any derived
026 * software must display the following acknowledgement:<br />
027 * <em>This product includes software developed by the LiveGraph project and its
028 * contributors.<br />(http://www.live-graph.org)</em><br />
029 * 4. All advertising materials distributed in form of HTML pages or any other technology
030 * permitting active hyper-links that mention features or use of this software or any
031 * derived software must display the acknowledgment specified in condition 3 of this
032 * agreement, and in addition, include a visible and working hyper-link to the LiveGraph
033 * homepage (http://www.live-graph.org).
034 * </p>
035 * <p style="font-size:smaller;">THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
036 * OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
037 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
038 * THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
039 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
040 * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
041 * </p>
042 *
043 * @author Greg Paperin (<a href="http://www.paperin.org" target="_blank">http://www.paperin.org</a>)
044 * @version {@value org.LiveGraph.LiveGraph#version}
045 */
046 public class DataFormatException extends Exception {
047
048 public DataFormatException() { super(); }
049 public DataFormatException(String message) { super(message); }
050 public DataFormatException(Throwable cause) { super(cause); }
051 public DataFormatException(String message, Throwable cause) { super(message, cause); }
052 }