Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
MalformedHTMLException |
|
| 1.0;1 |
1 | /* | |
2 | * Created on Dec 23, 2003 | |
3 | */ | |
4 | package net.sf.jolene.dom; | |
5 | ||
6 | ||
7 | /** | |
8 | * Exception thrown by the parser if it finds some unparsable html. | |
9 | * | |
10 | * @author Dan Howard | |
11 | */ | |
12 | public final class MalformedHTMLException extends RuntimeException { | |
13 | ||
14 | /** | |
15 | * | |
16 | */ | |
17 | 0 | public MalformedHTMLException() { |
18 | 0 | } |
19 | ||
20 | /** | |
21 | * Constructs the exception with the specified message string. | |
22 | * | |
23 | * @param message - message string | |
24 | */ | |
25 | public MalformedHTMLException(String message) { | |
26 | 1 | super(message); |
27 | 1 | } |
28 | ||
29 | /** | |
30 | * Constructs the exception with the specified cause. | |
31 | * | |
32 | * @param cause - cause of the exception | |
33 | */ | |
34 | public MalformedHTMLException(Throwable cause) { | |
35 | 0 | super(cause); |
36 | 0 | } |
37 | ||
38 | /** | |
39 | * Constructs the exception with the specified message string and cause. | |
40 | * | |
41 | * @param message - message string | |
42 | * @param cause - cause of the exception | |
43 | */ | |
44 | public MalformedHTMLException(String message, Throwable cause) { | |
45 | 0 | super(message, cause); |
46 | 0 | } |
47 | ||
48 | } |