1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package org.apache.commons.nabla.core;
18
19 /** This class represent differentiation exceptions.
20
21 * <p>Exceptions of this type are thrown when a {@link UnivariateDifferentiable
22 * differentiable} class cannot be differentiated.</p>
23
24 * @version $Id: nablaException.java 1686 2005-12-16 12:59:51Z luc $
25
26 */
27
28 public class DifferentiationException extends NablaException {
29
30 /** Version UID. */
31 private static final long serialVersionUID = 3219776376938014010L;
32
33 /** Simple constructor.
34 * Build an exception by translating and formating a message
35 * @param specifier format specifier (to be translated)
36 * @param parts to insert in the format (no translation)
37 */
38 public DifferentiationException(final String specifier, final Object... parts) {
39 super(specifier, parts);
40 }
41
42 }