Salome HOME
aa6b8ca4d4f21b0bc4cb70d2fce23b34cd123183
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / kernel / MismatchException.java
1 package org.splat.kernel;
2
3 import org.splat.exception.BusinessException;
4
5 /**
6  * MismatchException exception.
7  * @author Daniel Brunier-Coulin
8  * @copyright OPEN CASCADE 2012
9  */
10
11 public class MismatchException extends BusinessException {
12
13         /**
14          * Version id for serialization.
15          */
16         private static final long serialVersionUID = 366699682058153984L;
17
18         /**
19          * Create a MismatchException.  
20          */
21         public MismatchException() {
22                 super();
23         }
24
25         /**
26          * Create a MismatchException.
27          * 
28          * @param messageKey
29          *            error message key
30          * @param context
31          *            parameters
32          */
33         public MismatchException(final String messageKey, final Object... context) {
34                 super(messageKey, context);
35         }
36
37         /**
38          * Create a MismatchException. 
39          * @param message the error message. 
40          */
41         public MismatchException(final String message) {
42                 super(message);
43         }
44 }