    001/*-
    002 * Copyright 2016 Diamond Light Source Ltd.
    003 *
    004 * All rights reserved. This program and the accompanying materials
    005 * are made available under the terms of the Eclipse Public License v1.0
    006 * which accompanies this distribution, and is available at
    007 * http://www.eclipse.org/legal/epl-v10.html
    008 */
    009
    010package org.eclipse.january;
    011
    012/**
    013 * Exception class associated with datasets
    014 */
    015public class DatasetException extends Exception {
    016        private static final long serialVersionUID = 8936607081910736618L;
    017
    018        /**
    019         * @see Exception#Exception()
    020         */
    021        public DatasetException() {
    022                super();
    023        }
    024
    025        /**
    026         * @param message detailed message
    027         * @see Exception#Exception(String)
    028         */
    029        public DatasetException(String message) {
    030                super(message);
    031        }
    032
    033        /**
    034         * @param cause of problem
    035         * @see Exception#Exception(Throwable)
    036         */
    037        public DatasetException(Throwable cause) {
    038                super(cause);
    039        }
    040
    041        /**
    042         * @param message detailed message
    043         * @param cause of problem
    044         * @see Exception#Exception(String, Throwable)
    045         */
    046        public DatasetException(String message, Throwable cause) {
    047                super(message, cause);
    048        }
    049}