Salome HOME
Default document types mappings are moved from application settings (my.xml) to proje...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / kernel / InvalidPropertyException.java
index 660940e9fe7c725bc100e3e05143fb5a32438cd5..68b60be4f07925269c099cc14316181d7a774194 100644 (file)
@@ -4,7 +4,8 @@ import org.splat.exception.BusinessException;
 
 /**
  * Exception thrown when the property is invalid.
- * @author    Daniel Brunier-Coulin
+ * 
+ * @author Daniel Brunier-Coulin
  * @copyright OPEN CASCADE 2012
  */
 
@@ -16,10 +17,41 @@ public class InvalidPropertyException extends BusinessException {
        private static final long serialVersionUID = -3988379180445723963L;
 
        /**
-        * Create a InvalidPropertyException. 
-        * @param message the error message. 
+        * Create a InvalidPropertyException.
+        * 
+        * @param message
+        *            the error message.
         */
-    public InvalidPropertyException (final String message) {
-        super(message);
-      }
+       public InvalidPropertyException(final String message) {
+               super(message);
+       }
+
+       /**
+        * Create a InvalidPropertyException.
+        * 
+        * @param messageKey
+        *            error message key
+        * @param context
+        *            parameters
+        */
+       public InvalidPropertyException(final String messageKey,
+                       final Object... context) {
+               super(messageKey, context);
+               // TODO auto-generated constructor
+       }
+
+       /**
+        * Create a InvalidPropertyException.
+        * 
+        * @param messageKey
+        *            error message key
+        * @param throwable
+        *            the original exception
+        * @param context
+        *            parameters
+        */
+       public InvalidPropertyException(final String messageKey,
+                       final Throwable throwable, final Object... context) {
+               super(messageKey, throwable, context);
+       }
 }
\ No newline at end of file