001 /* ============================================================
002 * JRobin : Pure java implementation of RRDTool's functionality
003 * ============================================================
004 *
005 * Project Info: http://www.jrobin.org
006 * Project Lead: Sasa Markovic (saxon@jrobin.org);
007 *
008 * (C) Copyright 2003-2005, by Sasa Markovic.
009 *
010 * Developers: Sasa Markovic (saxon@jrobin.org)
011 *
012 *
013 * This library is free software; you can redistribute it and/or modify it under the terms
014 * of the GNU Lesser General Public License as published by the Free Software Foundation;
015 * either version 2.1 of the License, or (at your option) any later version.
016 *
017 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
018 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
019 * See the GNU Lesser General Public License for more details.
020 *
021 * You should have received a copy of the GNU Lesser General Public License along with this
022 * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
023 * Boston, MA 02111-1307, USA.
024 */
025
026 package org.jrobin.core;
027
028 /**
029 * Class to represent various JRobin checked exceptions.
030 * JRobin code can throw only <code>RrdException</code>
031 * (for various JRobin related errors) or <code>IOException</code>
032 * (for various I/O errors).
033 *
034 * @author <a href="mailto:saxon@jrobin.org">Sasa Markovic</a>
035 */
036 public class RrdException extends Exception {
037 private static final long serialVersionUID = 1L;
038
039 /**
040 * Creates new RrdException with the supplied message in it.
041 *
042 * @param message Error message.
043 */
044 public RrdException(String message) {
045 super(message);
046 }
047
048 /**
049 * Creates new RrdException object from any java.lang.Exception object
050 *
051 * @param e Exception object
052 */
053 public RrdException(Exception e) {
054 super(e);
055 }
056
057 }