001/*
002 * JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.
003 * Copyright (C) 2006 - JScience (http://jscience.org/)
004 * All rights reserved.
005 * 
006 * Permission to use, copy, modify, and distribute this software is
007 * freely granted, provided that this notice is preserved.
008 */
009package org.jscience.mathematics.function;
010
011/**
012 * <p> Thrown when a function operation cannot be performed.</p>
013 *
014 * @author  <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
015 * @version 1.0, January 24, 2004
016 */
017public class FunctionException extends RuntimeException {
018
019    /**
020     * Constructs a {@link FunctionException} with no detail message.
021     */
022    public FunctionException() {
023        super();
024    }
025
026    /**
027     * Constructs a {@link FunctionException} with the specified message.
028     *
029     * @param  message the message.
030     */
031    public FunctionException(String message) {
032        super(message);
033    }
034
035    private static final long serialVersionUID = 1L;
036}