001/*
002 * Copyright (c) 2012, 2013, Werner Keil, Credit Suisse (Anatole Tresch). Licensed under the Apache
003 * License, Version 2.0 (the "License"); you may not use this file except in compliance with the
004 * License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
005 * Unless required by applicable law or agreed to in writing, software distributed under the License
006 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
007 * or implied. See the License for the specific language governing permissions and limitations under
008 * the License. Contributors: Anatole Tresch - initial version.
009 */
010package org.javamoney.tck;
011
012/**
013 * Exception thrown if the TCK test setup failed.
014 */
015public final class TCKValidationException extends RuntimeException {
016
017    private static final long serialVersionUID = 1L;
018
019    /**
020     * Constructor.
021     *
022     * @param message the error message.
023     */
024    public TCKValidationException(String message) {
025        super(message);
026    }
027
028    /**
029     * Constructor.
030     *
031     * @param message the error message.
032     * @param e       the exception.
033     */
034    public TCKValidationException(String message, Throwable e) {
035        super(message, e);
036    }
037
038}