commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1391528 - in /commons/sandbox/nabla/trunk: ./ src/main/java/org/apache/commons/nabla/ src/main/java/org/apache/commons/nabla/core/ src/main/java/org/apache/commons/nabla/forward/ src/main/java/org/apache/commons/nabla/forward/analysis/ src...
Date Fri, 28 Sep 2012 16:36:40 GMT
Author: luc
Date: Fri Sep 28 16:36:38 2012
New Revision: 1391528

URL: http://svn.apache.org/viewvc?rev=1391528&view=rev
Log:
use Apache Commons Math features: exceptions

Added:
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/DifferentiationException.java   (with props)
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/NablaMessages.java   (with props)
    commons/sandbox/nabla/trunk/src/main/resources/assets/
    commons/sandbox/nabla/trunk/src/main/resources/assets/org/
    commons/sandbox/nabla/trunk/src/main/resources/assets/org/apache/
    commons/sandbox/nabla/trunk/src/main/resources/assets/org/apache/commons/
    commons/sandbox/nabla/trunk/src/main/resources/assets/org/apache/commons/nabla/
    commons/sandbox/nabla/trunk/src/main/resources/assets/org/apache/commons/nabla/NablaMessages_fr.properties   (with props)
Removed:
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/core/DifferentiationException.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/core/NablaException.java
    commons/sandbox/nabla/trunk/src/main/resources/META-INF/localization/ExceptionsMessages.properties
    commons/sandbox/nabla/trunk/src/main/resources/META-INF/localization/ExceptionsMessages_fr.properties
Modified:
    commons/sandbox/nabla/trunk/pom.xml
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/ForwardModeAlgorithmicDifferentiator.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/ForwardModeClassDifferentiator.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/InstructionsTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/MethodDifferentiator.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer1.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer12.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer2.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer1.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer12.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer2.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer1.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer12.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer2.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DNegTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer1.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer12.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer2.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer1.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer12.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer2.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer1.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer12.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer2.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer1.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer12.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer2.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/MathInvocationTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer1.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer12.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer2.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DLoadTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DReturnTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DStoreTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer1.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer12.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer2.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2Transformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X1Transformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer1.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer12.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer2.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/NarrowingTransformer.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/WideningTransformer.java
    commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/forward/functions/AcosGeneratorTest.java

Modified: commons/sandbox/nabla/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/pom.xml?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/pom.xml (original)
+++ commons/sandbox/nabla/trunk/pom.xml Fri Sep 28 16:36:38 2012
@@ -80,6 +80,11 @@
             <scope>test</scope>
         </dependency>
         <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-math3</artifactId>
+            <version>3.1-SNAPSHOT</version>
+        </dependency>
+        <dependency>
             <!-- we need the debug version at compile time because the non-debug versions
                  do not contain generics information, so they fail compiling Nabla
                  TrackingInterpreter which extends Interpreter<V extends Value> -->

Added: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/DifferentiationException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/DifferentiationException.java?rev=1391528&view=auto
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/DifferentiationException.java (added)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/DifferentiationException.java Fri Sep 28 16:36:38 2012
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.nabla;
+
+import org.apache.commons.math3.exception.util.ExceptionContext;
+import org.apache.commons.math3.exception.util.ExceptionContextProvider;
+import org.apache.commons.math3.exception.util.Localizable;
+
+/** This class represent differentiation exceptions.
+
+ * <p>Exceptions of this type are thrown when a class cannot be differentiated.</p>
+
+ * @version $Id$
+
+ */
+
+public class DifferentiationException extends RuntimeException implements ExceptionContextProvider {
+
+    /** Serializable version Id. */
+    private static final long serialVersionUID = 20120924L;
+
+    /** Context. */
+    private final ExceptionContext context;
+
+    /**
+     * Default constructor.
+     */
+    public DifferentiationException() {
+        context = new ExceptionContext(this);
+    }
+
+    /**
+     * Constructor with a specific message.
+     *
+     * @param pattern Message pattern providing the specific context of
+     * the error.
+     * @param args Arguments.
+     */
+    public DifferentiationException(final Localizable pattern, final Object ... args) {
+        context = new ExceptionContext(this);
+        context.addMessage(pattern, args);
+    }
+
+    /** {@inheritDoc} */
+    public ExceptionContext getContext() {
+        return context;
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    public String getMessage() {
+        return context.getMessage();
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    public String getLocalizedMessage() {
+        return context.getLocalizedMessage();
+    }
+
+}

Propchange: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/DifferentiationException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/DifferentiationException.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/NablaMessages.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/NablaMessages.java?rev=1391528&view=auto
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/NablaMessages.java (added)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/NablaMessages.java Fri Sep 28 16:36:38 2012
@@ -0,0 +1,102 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.nabla;
+
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+import org.apache.commons.math3.exception.util.Localizable;
+
+/**
+ * Enumeration for localized messages formats used in exceptions messages.
+ * <p>
+ * The constants in this enumeration represent the available
+ * formats as localized strings. These formats are intended to be
+ * localized using simple properties files, using the constant
+ * name as the key and the property value as the message format.
+ * The source English format is provided in the constants themselves
+ * to serve both as a reminder for developers to understand the parameters
+ * needed by each format, as a basis for translators to create
+ * localized properties files, and as a default format if some
+ * translation is missing.
+ * </p>
+ * @version $Id$
+ */
+public enum NablaMessages implements Localizable {
+
+    // CHECKSTYLE: stop MultipleVariableDeclarations
+    // CHECKSTYLE: stop JavadocVariable
+
+    CANNOT_READ_CLASS("class {0} cannot be read ({1})"),
+    CANNOT_INSTANTIATE_ABSTRACT_CLASS("abstract class {0} cannot be instantiated ({1})"),
+    ILLEGAL_ACCESS_TO_CONSTRUCTOR("illegal access to class {0} constructor ({1})"),
+    CANNOT_BUILD_CLASS_FROM_OTHER_CLASS("class {0} cannot be built from an instance of class {1} ({2})"),
+    CANNOT_INSTANTIATE_CLASS_FROM_OTHER_INSTANCE("class {0} instantiation from an instance of class {1} failed ({2})"),
+    INCORRECT_GENERATED_CODE("class {0} code generated from an instance of class {1} is incorrect ({2})"),
+    INTERFACE_NOT_FOUND_WHILE_DIFFERENTIATING("interface {0} not found while differentiating class {1}"),
+    CLASS_DOES_NOT_IMPLEMENT_INTERFACE("the {0} class does not implement the {1} interface"),
+    UNABLE_TO_ANALYZE_METHOD("unable to analyze the {0}.{1} method ({2})"),
+    UNKNOWN_METHOD("unknown method {0}.{1}"),
+    NUMBER_OF_TEMPORARY_VARIABLES_OUT_OF_RANGE("number of temporary variable ({0}) outside of [{1}, {2}] range"),
+    INDEX_OF_LOCAL_VARIABLE_OUT_OF_RANGE("index of size {0} local variable ({1}) outside of [{2}, {3}] range"),
+    UNEXPECTED_INSTRUCTION("unexpected instruction with opcode {0}"),
+    UNABLE_TO_HANDLE_INSTRUCTION("unable to handle instruction with opcode {0}"),
+    CANNOT_GET_VOID_FIELD("unable to get value of void type field {0}");
+
+    // CHECKSTYLE: resume JavadocVariable
+    // CHECKSTYLE: resume MultipleVariableDeclarations
+
+
+    /** Source English format. */
+    private final String sourceFormat;
+
+    /** Simple constructor.
+     * @param sourceFormat source English format to use when no
+     * localized version is available
+     */
+    private NablaMessages(final String sourceFormat) {
+        this.sourceFormat = sourceFormat;
+    }
+
+    /** {@inheritDoc} */
+    public String getSourceString() {
+        return sourceFormat;
+    }
+
+    /** {@inheritDoc} */
+    public String getLocalizedString(final Locale locale) {
+        try {
+            final String path = NablaMessages.class.getName().replaceAll("\\.", "/");
+            ResourceBundle bundle =
+                    ResourceBundle.getBundle("assets/" + path, locale);
+            if (bundle.getLocale().getLanguage().equals(locale.getLanguage())) {
+                // the value of the resource is the translated format
+                return bundle.getString(toString());
+            }
+
+        } catch (MissingResourceException mre) {
+            // do nothing here
+        }
+
+        // either the locale is not supported or the resource is unknown
+        // don't translate and fall back to using the source format
+        return sourceFormat;
+
+    }
+
+}

Propchange: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/NablaMessages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/NablaMessages.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/ForwardModeAlgorithmicDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/ForwardModeAlgorithmicDifferentiator.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/ForwardModeAlgorithmicDifferentiator.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/ForwardModeAlgorithmicDifferentiator.java Fri Sep 28 16:36:38 2012
@@ -25,10 +25,11 @@ import java.util.HashSet;
 import java.util.Set;
 
 import org.apache.commons.nabla.Descriptors;
-import org.apache.commons.nabla.core.DifferentiationException;
 import org.apache.commons.nabla.core.UnivariateDerivative;
 import org.apache.commons.nabla.core.UnivariateDifferentiable;
 import org.apache.commons.nabla.core.UnivariateDifferentiator;
+import org.apache.commons.nabla.DifferentiationException;
+import org.apache.commons.nabla.NablaMessages;
 import org.apache.commons.nabla.forward.analysis.ForwardModeClassDifferentiator;
 import org.objectweb.asm.ClassWriter;
 import org.objectweb.asm.tree.ClassNode;
@@ -110,19 +111,19 @@ public class ForwardModeAlgorithmicDiffe
             return constructor.newInstance(d);
 
         } catch (InstantiationException ie) {
-            throw new DifferentiationException("abstract class {0} cannot be instantiated ({1})",
+            throw new DifferentiationException(NablaMessages.CANNOT_INSTANTIATE_ABSTRACT_CLASS,
                                                derivativeClass.getName(), ie.getMessage());
         } catch (IllegalAccessException iae) {
-            throw new DifferentiationException("illegal access to class {0} constructor ({1})",
+            throw new DifferentiationException(NablaMessages.ILLEGAL_ACCESS_TO_CONSTRUCTOR,
                                                derivativeClass.getName(), iae.getMessage());
         } catch (NoSuchMethodException nsme) {
-            throw new DifferentiationException("class {0} cannot be built from an instance of class {1} ({2})",
+            throw new DifferentiationException(NablaMessages.CANNOT_BUILD_CLASS_FROM_OTHER_CLASS,
                                                derivativeClass.getName(), d.getClass().getName(), nsme.getMessage());
         } catch (InvocationTargetException ite) {
-            throw new DifferentiationException("class {0} instantiation from an instance of class {1} failed ({2})",
+            throw new DifferentiationException(NablaMessages.CANNOT_INSTANTIATE_CLASS_FROM_OTHER_INSTANCE,
                                                derivativeClass.getName(), d.getClass().getName(), ite.getMessage());
         } catch (VerifyError ve) {
-            throw new DifferentiationException("class {0} code generated from an instance of class {1} is incorrect ({2})",
+            throw new DifferentiationException(NablaMessages.INCORRECT_GENERATED_CODE,
                                                derivativeClass.getName(), d.getClass().getName(), ve.getMessage());
         }
 
@@ -187,7 +188,7 @@ public class ForwardModeAlgorithmicDiffe
             return dClass;
 
         } catch (IOException ioe) {
-            throw new DifferentiationException("class {0} cannot be read ({1})",
+            throw new DifferentiationException(NablaMessages.CANNOT_READ_CLASS,
                                                differentiableClass.getName(), ioe.getMessage());
         }
     }

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/ForwardModeClassDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/ForwardModeClassDifferentiator.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/ForwardModeClassDifferentiator.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/ForwardModeClassDifferentiator.java Fri Sep 28 16:36:38 2012
@@ -21,9 +21,10 @@ import java.io.InputStream;
 import java.lang.reflect.Field;
 import java.util.Set;
 
-import org.apache.commons.nabla.core.DifferentiationException;
 import org.apache.commons.nabla.core.UnivariateDerivative;
 import org.apache.commons.nabla.core.UnivariateDifferentiable;
+import org.apache.commons.nabla.DifferentiationException;
+import org.apache.commons.nabla.NablaMessages;
 import org.objectweb.asm.ClassReader;
 import org.objectweb.asm.Label;
 import org.objectweb.asm.Opcodes;
@@ -99,8 +100,7 @@ public class ForwardModeClassDifferentia
             } catch (ClassNotFoundException cnfe) {
                 // this should never occur since class has already been loaded
                 // and an instance already exists ...
-                throw new DifferentiationException("interface {0} not found " +
-                                                   "while differentiating class {1}",
+                throw new DifferentiationException(NablaMessages.INTERFACE_NOT_FOUND_WHILE_DIFFERENTIATING,
                                                    interfName, primitiveNode.name);
             }
             if (interfClass != null) {
@@ -109,8 +109,8 @@ public class ForwardModeClassDifferentia
         }
 
         if (!isDifferentiable) {
-            throw new DifferentiationException("the {0} class does not implement the {1} interface",
-                                               primitiveNode.name, uDerClass.getName());
+            throw new DifferentiationException(NablaMessages.CLASS_DOES_NOT_IMPLEMENT_INTERFACE,
+                                               primitiveNode.name, uFuncClass.getName());
         }
 
         // change the class properties for the derived class

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/InstructionsTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/InstructionsTransformer.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/InstructionsTransformer.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/InstructionsTransformer.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.analysis;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.objectweb.asm.tree.AbstractInsnNode;
 import org.objectweb.asm.tree.InsnList;
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/MethodDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/MethodDifferentiator.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/MethodDifferentiator.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/analysis/MethodDifferentiator.java Fri Sep 28 16:36:38 2012
@@ -27,7 +27,8 @@ import java.util.Map;
 import java.util.Set;
 
 import org.apache.commons.nabla.Descriptors;
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
+import org.apache.commons.nabla.NablaMessages;
 import org.apache.commons.nabla.forward.arithmetic.DAddTransformer1;
 import org.apache.commons.nabla.forward.arithmetic.DAddTransformer12;
 import org.apache.commons.nabla.forward.arithmetic.DAddTransformer2;
@@ -147,9 +148,6 @@ public class MethodDifferentiator {
         MATH_TRANSFORMERS.put("tanh",     new TanhTransformer());
     }
 
-    /** Message format for unknown method. */
-    private static final String UNKNOWN_METHOD_FMT = "unknown method {0}.{1}";
-
     /** Maximal number of temporary size 2 variables. */
     private static final int MAX_TEMP = 5;
 
@@ -263,7 +261,7 @@ public class MethodDifferentiator {
             if ((ae.getCause() != null) && ae.getCause() instanceof DifferentiationException) {
                 throw (DifferentiationException) ae.getCause();
             } else {
-                throw new DifferentiationException("unable to analyze the {0}.{1} method ({2})",
+                throw new DifferentiationException(NablaMessages.UNABLE_TO_ANALYZE_METHOD,
                                                    primitiveName, method.name, ae.getMessage());
             }
         }
@@ -613,8 +611,7 @@ public class MethodDifferentiator {
             // TODO add support for MULTIANEWARRAY differentiation
             throw new RuntimeException("MULTIANEWARRAY not handled yet");
         default:
-            throw new DifferentiationException("unable to handle instruction with opcode {0}",
-                                               insn.getOpcode());
+            throw new DifferentiationException(NablaMessages.UNABLE_TO_HANDLE_INSTRUCTION, insn.getOpcode());
         }
 
     }
@@ -639,7 +636,7 @@ public class MethodDifferentiator {
         final String valueMethodName;
         switch (type.getSort()) {
             case Type.VOID:
-                throw new DifferentiationException("cannot get void field ", fieldInsn.name);
+                throw new DifferentiationException(NablaMessages.CANNOT_GET_VOID_FIELD, fieldInsn.name);
             case Type.BOOLEAN:
                 valueMethodName = "booleanValue";
                 boxedType       = Type.getType(Boolean.class);
@@ -707,7 +704,7 @@ public class MethodDifferentiator {
                 // this is a univariate method like sin, cos, exp ...
                 final MathInvocationTransformer transformer = MATH_TRANSFORMERS.get(methodInsn.name);
                 if (transformer == null) {
-                    throw new DifferentiationException(UNKNOWN_METHOD_FMT,
+                    throw new DifferentiationException(NablaMessages.UNKNOWN_METHOD,
                                                        methodInsn.owner, methodInsn.name);
                 }
                 return transformer.getReplacementList(methodInsn.owner, this);
@@ -729,15 +726,14 @@ public class MethodDifferentiator {
                 if (name != null) {
                     final MathInvocationTransformer transformer = MATH_TRANSFORMERS.get(name);
                     if (transformer == null) {
-                        throw new DifferentiationException(UNKNOWN_METHOD_FMT,
+                        throw new DifferentiationException(NablaMessages.UNKNOWN_METHOD,
                                                            methodInsn.owner, methodInsn.name);
                     }
                     return transformer.getReplacementList(methodInsn.owner, this);
                 }
             }
         }
-        throw new DifferentiationException("unexpected instruction {0}",
-                                           Integer.valueOf(methodInsn.getOpcode()));
+        throw new DifferentiationException(NablaMessages.UNEXPECTED_INSTRUCTION, methodInsn.getOpcode());
     }
 
     /** Test if a class is a math implementation class.
@@ -758,8 +754,7 @@ public class MethodDifferentiator {
     public void useLocal(final int index, final int size)
         throws DifferentiationException {
         if ((index < 0) || ((index + size) > usedLocals.length)) {
-            throw new DifferentiationException("index of size {0} local variable ({1}) " +
-                                               "outside of [{2}, {3}] range",
+            throw new DifferentiationException(NablaMessages.INDEX_OF_LOCAL_VARIABLE_OUT_OF_RANGE,
                                                size, index, 1, MAX_TEMP);
         }
         for (int i = index; i < index + size; ++i) {
@@ -789,7 +784,7 @@ public class MethodDifferentiator {
      */
     public int getTmp(final int number) throws DifferentiationException {
         if ((number < 0) || (number > MAX_TEMP)) {
-            throw new DifferentiationException("number of temporary variable ({0}) outside of [{1}, {2}] range",
+            throw new DifferentiationException(NablaMessages.NUMBER_OF_TEMPORARY_VARIABLES_OUT_OF_RANGE,
                                                number, 1, MAX_TEMP);
         }
         final int index = usedLocals.length - 2 * number;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer1.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer1.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer1.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer1.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer12.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer12.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer12.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer12.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer2.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer2.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer2.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DAddTransformer2.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer1.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer1.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer1.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer1.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer12.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer12.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer12.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer12.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer2.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer2.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer2.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DDivTransformer2.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer1.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer1.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer1.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer1.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer12.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer12.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer12.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer12.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer2.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer2.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer2.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DMulTransformer2.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DNegTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DNegTransformer.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DNegTransformer.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DNegTransformer.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer1.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer1.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer1.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer1.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer12.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer12.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer12.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer12.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer2.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer2.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer2.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DRemTransformer2.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer1.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer1.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer1.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer1.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer12.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer12.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer12.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer12.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer2.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer2.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer2.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/arithmetic/DSubTransformer2.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.arithmetic;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer1.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer1.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer1.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer1.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.functions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;
 import org.objectweb.asm.tree.InsnList;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer12.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer12.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer12.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer12.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.functions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;
 import org.objectweb.asm.tree.InsnList;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer2.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer2.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer2.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/Atan2Transformer2.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.functions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;
 import org.objectweb.asm.tree.InsnList;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer1.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer1.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer1.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer1.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.functions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;
 import org.objectweb.asm.tree.InsnList;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer12.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer12.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer12.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer12.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.functions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;
 import org.objectweb.asm.tree.InsnList;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer2.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer2.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer2.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/HypotTransformer2.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.functions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;
 import org.objectweb.asm.tree.InsnList;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/MathInvocationTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/MathInvocationTransformer.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/MathInvocationTransformer.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/MathInvocationTransformer.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.functions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.tree.InsnList;
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer1.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer1.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer1.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer1.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.functions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;
 import org.objectweb.asm.tree.InsnList;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer12.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer12.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer12.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer12.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.functions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;
 import org.objectweb.asm.tree.InsnList;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer2.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer2.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer2.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/functions/PowTransformer2.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.functions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;
 import org.objectweb.asm.tree.InsnList;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DLoadTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DLoadTransformer.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DLoadTransformer.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DLoadTransformer.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DReturnTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DReturnTransformer.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DReturnTransformer.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DReturnTransformer.java Fri Sep 28 16:36:38 2012
@@ -17,7 +17,7 @@
 package org.apache.commons.nabla.forward.instructions;
 
 import org.apache.commons.nabla.Descriptors;
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DStoreTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DStoreTransformer.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DStoreTransformer.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DStoreTransformer.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer1.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer1.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer1.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer1.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer12.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer12.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer12.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer12.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer2.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer2.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer2.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/DcmpTransformer2.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2Transformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2Transformer.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2Transformer.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2Transformer.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X1Transformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X1Transformer.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X1Transformer.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X1Transformer.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer1.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer1.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer1.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer1.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer12.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer12.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer12.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer12.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer2.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer2.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer2.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/Dup2X2Transformer2.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/NarrowingTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/NarrowingTransformer.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/NarrowingTransformer.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/NarrowingTransformer.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/WideningTransformer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/WideningTransformer.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/WideningTransformer.java (original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/forward/instructions/WideningTransformer.java Fri Sep 28 16:36:38 2012
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.nabla.forward.instructions;
 
-import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.forward.analysis.InstructionsTransformer;
 import org.apache.commons.nabla.forward.analysis.MethodDifferentiator;
 import org.objectweb.asm.Opcodes;

Added: commons/sandbox/nabla/trunk/src/main/resources/assets/org/apache/commons/nabla/NablaMessages_fr.properties
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/resources/assets/org/apache/commons/nabla/NablaMessages_fr.properties?rev=1391528&view=auto
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/resources/assets/org/apache/commons/nabla/NablaMessages_fr.properties (added)
+++ commons/sandbox/nabla/trunk/src/main/resources/assets/org/apache/commons/nabla/NablaMessages_fr.properties Fri Sep 28 16:36:38 2012
@@ -0,0 +1,30 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+CANNOT_READ_CLASS = la classe {0} ne peut pas \u00eatre lue ({1})
+CANNOT_INSTANTIATE_ABSTRACT_CLASS = la classe abstraite {0} ne peut pas \u00eatre instanci\u00e9e ({1})
+ILLEGAL_ACCESS_TO_CONSTRUCTOR = acc\u00e8s ill\u00e9gal au constructeur de la classe {0} ({1})
+CANNOT_BUILD_CLASS_FROM_OTHER_CLASS = la classe {0} ne peut pas \u00eatre construite \u00e0 partir d''une instance de la classe {1} ({2})
+CANNOT_INSTANTIATE_CLASS_FROM_OTHER_INSTANCE = la classe {0} ne peut pas \u00eatre instanci\u00e9e \u00e0 partir d''une instance de la classe {1} ({2})
+INCORRECT_GENERATED_CODE = code incorrect pour la classe {0} g\u00e9n\u00e9r\u00e9e \u00e0 partir d''une instance de la classe {1} ({2})
+INTERFACE_NOT_FOUND_WHILE_DIFFERENTIATING = interface {0} non trouv\u00e9e lors de la diff\u00e9rentiation de la classe {1}
+CLASS_DOES_NOT_IMPLEMENT_INTERFACE = la classe {0} ne met pas en \u0153uvre l''interface {1}
+UNABLE_TO_ANALYZE_METHOD = impossible d''analyser la m\u00e9thode {0}.{1} ({2})
+UNKNOWN_METHOD = m\u00e9thode {0}.{1} inconnue
+NUMBER_OF_TEMPORARY_VARIABLES_OUT_OF_RANGE = num\u00e9ro de la variable temporaire ({0}) hors du domaine [{1}, {2}]
+INDEX_OF_LOCAL_VARIABLE_OUT_OF_RANGE = index ({1}) de la variable locale de taille {0} hors du domaine [{2}, {3}]
+UNEXPECTED_INSTRUCTION = instruction ayant l''opcode {0} inattendue
+UNABLE_TO_HANDLE_INSTRUCTION = incapable de g\u00e9rer une instruction ayant l''opcode {0}
+CANNOT_GET_VOID_FIELD = impossible de r\u00e9cup\u00e9rer la valeur du champ {0} de type void

Propchange: commons/sandbox/nabla/trunk/src/main/resources/assets/org/apache/commons/nabla/NablaMessages_fr.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/nabla/trunk/src/main/resources/assets/org/apache/commons/nabla/NablaMessages_fr.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/forward/functions/AcosGeneratorTest.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/forward/functions/AcosGeneratorTest.java?rev=1391528&r1=1391527&r2=1391528&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/forward/functions/AcosGeneratorTest.java (original)
+++ commons/sandbox/nabla/trunk/src/test/java/org/apache/commons/nabla/forward/functions/AcosGeneratorTest.java Fri Sep 28 16:36:38 2012
@@ -17,9 +17,9 @@
 package org.apache.commons.nabla.forward.functions;
 
 import org.apache.commons.nabla.AbstractMathTest;
+import org.apache.commons.nabla.DifferentiationException;
 import org.apache.commons.nabla.ReferenceFunction;
 import org.apache.commons.nabla.core.DifferentialPair;
-import org.apache.commons.nabla.core.DifferentiationException;
 import org.apache.commons.nabla.core.UnivariateDerivative;
 import org.apache.commons.nabla.core.UnivariateDifferentiable;
 import org.apache.commons.nabla.forward.ForwardModeAlgorithmicDifferentiator;



Mime
View raw message