1    /**
2     * 
3     */
4    package org.torweg.pulse.site;
5    
6    import org.torweg.pulse.service.PulseException;
7    
8    /**
9     * Exceptions thrown on errors during comparisons of {@code Locale}s.
10    * 
11    * @author Daniel Dietz
12    * @version $Revision: 1396 $
13    */
14   public class LocaleMatchingException extends PulseException {
15   
16       /**
17        * serial version UID for java.io.Serializable.
18        */
19       private static final long serialVersionUID = -4806503053984070478L;
20   
21       /**
22        * constructs a new exception with {@code null} as its detail message.
23        */
24       public LocaleMatchingException() {
25           super();
26       }
27   
28       /**
29        * constructs a new exception with the specified detail message.
30        * 
31        * @param message
32        *            the message of the exception
33        */
34       public LocaleMatchingException(final String message) {
35           super(message);
36       }
37   
38       /**
39        * constructs a new exception with the specified detail message and cause.
40        * 
41        * @param message
42        *            the message of the exception
43        * @param cause
44        *            the cause of the exception
45        */
46       public LocaleMatchingException(final String message, final Throwable cause) {
47           super(message, cause);
48       }
49   
50       /**
51        * constructs a new exception with the specified detail message and cause.
52        * 
53        * @param cause
54        *            the cause of the exception
55        */
56       public LocaleMatchingException(final Throwable cause) {
57           super(cause);
58       }
59   
60   }
61