001/* 002 * GeoAPI - Java interfaces for OGC/ISO standards 003 * Copyright © 2011-2024 Open Geospatial Consortium, Inc. 004 * http://www.geoapi.org 005 * 006 * Licensed under the Apache License, Version 2.0 (the "License"); 007 * you may not use this file except in compliance with the License. 008 * You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, software 013 * distributed under the License is distributed on an "AS IS" BASIS, 014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 015 * See the License for the specific language governing permissions and 016 * limitations under the License. 017 */ 018package org.opengis.test; 019 020import org.opentest4j.AssertionFailedError; 021 022 023/** 024 * Base class for exceptions thrown when a numerical computation did not produced 025 * the expected value. 026 * 027 * @author Martin Desruisseaux (Geomatys) 028 * @version 3.1 029 * @since 3.1 030 */ 031public abstract class ComputationFailure extends AssertionFailedError { 032 /** 033 * For cross-version compatibility. 034 */ 035 private static final long serialVersionUID = 7082843147964652170L; 036 037 /** 038 * Creates a new exception with the given message. 039 * 040 * @param message the details message. 041 */ 042 public ComputationFailure(final String message) { 043 super(message); 044 } 045}