]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman-Common/src/org/splat/exception/InvalidParameterException.java
Salome HOME
Copyrights update 2015.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / exception / InvalidParameterException.java
1 package org.splat.exception; 
2
3
4 /**
5  * Exception thrown when a parameter passed to a method is invalid.
6  */
7 public class InvalidParameterException extends BusinessException {
8
9         /**
10          * Version id for serialization.
11          */
12         private static final long serialVersionUID = -4596111071538834057L;
13         
14         /**
15          * Constructor.
16          * @param param
17          *              the the name of the invalid parameter 
18          * @param value
19          *              the value of the parameter
20          */
21         public InvalidParameterException(final String param, final String value){
22                 //super(MessageKeyEnum.PARAM_000001.toString(), param, value);
23                 //constructor doesn't create any meaningful message so localization problems doesn't block further development
24                 super();
25         }
26 }