minor
authorAndreas Müller <a.mueller@bgbm.org>
Fri, 27 May 2011 10:48:07 +0000 (10:48 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Fri, 27 May 2011 10:48:07 +0000 (10:48 +0000)
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/facade/DerivedUnitFacade.java

index 878c9791b2bb4ebb0d207daab0ac80ca5c37af8a..bee67f0c6c0a0cc4f56fd1ada6fd886a56ff5bd4 100644 (file)
@@ -1092,9 +1092,9 @@ public class DerivedUnitFacade {
         *            minimum of the range\r
         * @param maximumElevation\r
         *            maximum of the range\r
+        * @throws IllegalArgumentException\r
         */\r
-       public void setAbsoluteElevationRange(Integer minimumElevation,\r
-                       Integer maximumElevation) {\r
+       public void setAbsoluteElevationRange(Integer minimumElevation, Integer maximumElevation) throws IllegalArgumentException{\r
                if (minimumElevation == null || maximumElevation == null) {\r
                        Integer elevation = minimumElevation;\r
                        Integer error = 0;\r
@@ -1762,7 +1762,7 @@ public class DerivedUnitFacade {
 \r
        // Determination\r
        public void addDetermination(DeterminationEvent determination) {\r
-               testDerivedUnit();\r
+               testDerivedUnit(); \r
                determination.setIdentifiedUnit(derivedUnit);\r
                derivedUnit.addDetermination(determination);\r
        }\r