1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package net.sf.jmimemagic;
24
25 /***
26 * Basic JMimeMagic parse exception. This is simply a holder to identify a parsing problem. It
27 * should be extended to identify more specific issues.
28 *
29 * @author $Author: arimus $
30 * @version $Revision: 1.1 $
31 */
32 public class MagicMatchNotFoundException extends Exception
33 {
34 /***
35 * constructor
36 */
37 public MagicMatchNotFoundException()
38 {
39 super();
40 }
41
42 /***
43 * Create exception with error message
44 *
45 * @param message The error message for this exception
46 */
47 public MagicMatchNotFoundException(String message)
48 {
49 super(message);
50 }
51
52 /***
53 * Create exception based on an existing Throwable
54 *
55 * @param cause The throwable on which we'll base this exception
56 */
57 public MagicMatchNotFoundException(Throwable cause)
58 {
59 super(cause);
60 }
61
62 /***
63 * Create an exception with custom message and throwable info
64 *
65 * @param message The message
66 * @param cause The target Throwable
67 */
68 public MagicMatchNotFoundException(String message, Throwable cause)
69 {
70 super(message, cause);
71 }
72 }