Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
InvalidResourceException |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (C) 1998-2000 Semiotek Inc. All Rights Reserved. | |
3 | * | |
4 | * Redistribution and use in source and binary forms, with or without | |
5 | * modification, are permitted under the terms of either of the following | |
6 | * Open Source licenses: | |
7 | * | |
8 | * The GNU General Public License, version 2, or any later version, as | |
9 | * published by the Free Software Foundation | |
10 | * (http://www.fsf.org/copyleft/gpl.html); | |
11 | * | |
12 | * or | |
13 | * | |
14 | * The Semiotek Public License (http://webmacro.org/LICENSE.) | |
15 | * | |
16 | * This software is provided "as is", with NO WARRANTY, not even the | |
17 | * implied warranties of fitness to purpose, or merchantability. You | |
18 | * assume all risks and liabilities associated with its use. | |
19 | * | |
20 | * See www.webmacro.org for more information on the WebMacro project. | |
21 | */ | |
22 | ||
23 | ||
24 | /** | |
25 | * Thrown when a resource was found but could not be loaded, for example | |
26 | * if a template doesn't parse. | |
27 | * @since 0.96 | |
28 | */ | |
29 | ||
30 | package org.webmacro.resource; | |
31 | ||
32 | import org.webmacro.ResourceException; | |
33 | ||
34 | /** | |
35 | * Resource exists but could not be loaded for some reason | |
36 | */ | |
37 | public class InvalidResourceException extends ResourceException | |
38 | { | |
39 | ||
40 | /** | |
41 | * | |
42 | */ | |
43 | private static final long serialVersionUID = 1L; | |
44 | ||
45 | public InvalidResourceException (String reason, Exception e) | |
46 | { | |
47 | 0 | super(reason, e); |
48 | 0 | } |
49 | ||
50 | public InvalidResourceException (String reason) | |
51 | { | |
52 | 0 | super(reason); |
53 | 0 | } |
54 | } | |
55 |