001/**
002 * Powerunit - A JDK1.8 test framework
003 * Copyright (C) 2014 Mathieu Boretti.
004 *
005 * This file is part of Powerunit
006 *
007 * Powerunit is free software: you can redistribute it and/or modify
008 * it under the terms of the GNU General Public License as published by
009 * the Free Software Foundation, either version 3 of the License, or
010 * (at your option) any later version.
011 *
012 * Powerunit is distributed in the hope that it will be useful,
013 * but WITHOUT ANY WARRANTY; without even the implied warranty of
014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
015 * GNU General Public License for more details.
016 *
017 * You should have received a copy of the GNU General Public License
018 * along with Powerunit. If not, see <http://www.gnu.org/licenses/>.
019 */
020package ch.powerunit.exception;
021
022/**
023 * Internal error.
024 *
025 * @author borettim
026 *
027 */
028public class InternalError extends RuntimeException {
029
030    /**
031     *
032     */
033    private static final long serialVersionUID = -1399053409958048208L;
034
035    /**
036     * Default constructor.
037     * 
038     * @param message
039     *            the message
040     * @param cause
041     *            the cause
042     */
043    public InternalError(String message, Throwable cause) {
044        super(message, cause);
045    }
046
047    /**
048     * Default constructor.
049     * 
050     * @param message
051     *            the message
052     */
053    public InternalError(String message) {
054        super(message);
055    }
056
057}