|
1 | | -/** |
2 | | - * OWASP Enterprise Security API (ESAPI) |
3 | | - * |
4 | | - * This file is part of the Open Web Application Security Project (OWASP) |
5 | | - * Enterprise Security API (ESAPI) project. For details, please see |
6 | | - * <a href="http://www.owasp.org/index.php/ESAPI">http://www.owasp.org/index.php/ESAPI</a>. |
7 | | - * |
8 | | - * Copyright (c) 2007 - The OWASP Foundation |
9 | | - * |
10 | | - * The ESAPI is published by OWASP under the BSD license. You should read and accept the |
11 | | - * LICENSE before you use, modify, and/or redistribute this software. |
12 | | - * |
13 | | - * @author Jeff Williams <a href="http://www.aspectsecurity.com">Aspect Security</a> |
14 | | - * @created 2007 |
15 | | - */ |
16 | | -package org.owasp.esapi.errors; |
17 | | - |
18 | | -/** |
19 | | - * An EncodingException should be thrown for any problems that occur when |
20 | | - * encoding or decoding data. |
21 | | - * |
22 | | - * @author Jeff Williams (jeff.williams@aspectsecurity.com) |
23 | | - */ |
24 | | -public class EncodingException extends EnterpriseSecurityException { |
25 | | - |
26 | | - /** The Constant serialVersionUID. */ |
27 | | - private static final long serialVersionUID = 1L; |
28 | | - |
29 | | - /** |
30 | | - * Instantiates a new service exception. |
31 | | - */ |
32 | | - protected EncodingException() { |
33 | | - // hidden |
34 | | - } |
35 | | - |
36 | | - /** |
37 | | - * Creates a new instance of EncodingException. |
38 | | - * |
39 | | - * @param userMessage |
40 | | - * the message displayed to the user |
41 | | - * @param logMessage |
42 | | - * the message logged |
43 | | - */ |
44 | | - public EncodingException(String userMessage, String logMessage) { |
45 | | - super(userMessage, logMessage); |
46 | | - } |
47 | | - |
48 | | - /** |
49 | | - * Instantiates a new EncodingException. |
50 | | - * |
51 | | - * @param userMessage |
52 | | - * the message displayed to the user |
53 | | - * @param logMessage |
54 | | - * the message logged |
55 | | - * @param cause |
56 | | - * the cause |
57 | | - */ |
58 | | - public EncodingException(String userMessage, String logMessage, Throwable cause) { |
59 | | - super(userMessage, logMessage, cause); |
60 | | - } |
61 | | - |
62 | | -} |
| 1 | +/** |
| 2 | + * OWASP Enterprise Security API (ESAPI) |
| 3 | + * |
| 4 | + * This file is part of the Open Web Application Security Project (OWASP) |
| 5 | + * Enterprise Security API (ESAPI) project. For details, please see |
| 6 | + * <a href="http://www.owasp.org/index.php/ESAPI">http://www.owasp.org/index.php/ESAPI</a>. |
| 7 | + * |
| 8 | + * Copyright (c) 2007 - The OWASP Foundation |
| 9 | + * |
| 10 | + * The ESAPI is published by OWASP under the BSD license. You should read and accept the |
| 11 | + * LICENSE before you use, modify, and/or redistribute this software. |
| 12 | + * |
| 13 | + * @author Jeff Williams <a href="http://www.aspectsecurity.com">Aspect Security</a> |
| 14 | + * @created 2007 |
| 15 | + */ |
| 16 | +package org.owasp.esapi.errors; |
| 17 | + |
| 18 | +/** |
| 19 | + * An EncodingException should be thrown for any problems that occur when |
| 20 | + * encoding or decoding data. |
| 21 | + * |
| 22 | + * @author Jeff Williams (jeff.williams@aspectsecurity.com) |
| 23 | + */ |
| 24 | +public class EncodingException extends EnterpriseSecurityException { |
| 25 | + |
| 26 | + /** The Constant serialVersionUID. */ |
| 27 | + private static final long serialVersionUID = 1L; |
| 28 | + |
| 29 | + /** |
| 30 | + * Instantiates a new service exception. |
| 31 | + */ |
| 32 | + protected EncodingException() { |
| 33 | + // hidden |
| 34 | + } |
| 35 | + |
| 36 | + /** |
| 37 | + * Creates a new instance of EncodingException. |
| 38 | + * |
| 39 | + * @param userMessage |
| 40 | + * the message displayed to the user |
| 41 | + * @param logMessage |
| 42 | + * the message logged |
| 43 | + */ |
| 44 | + public EncodingException(String userMessage, String logMessage) { |
| 45 | + super(userMessage, logMessage); |
| 46 | + } |
| 47 | + |
| 48 | + /** |
| 49 | + * Instantiates a new EncodingException. |
| 50 | + * |
| 51 | + * @param userMessage |
| 52 | + * the message displayed to the user |
| 53 | + * @param logMessage |
| 54 | + * the message logged |
| 55 | + * @param cause |
| 56 | + * the cause |
| 57 | + */ |
| 58 | + public EncodingException(String userMessage, String logMessage, Throwable cause) { |
| 59 | + super(userMessage, logMessage, cause); |
| 60 | + } |
| 61 | + |
| 62 | +} |
0 commit comments