Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
SiteModuleNotFoundException |
|
| 1.0;1 |
1 | package org.apache.maven.doxia.module.site.manager; | |
2 | ||
3 | /* | |
4 | * Licensed to the Apache Software Foundation (ASF) under one | |
5 | * or more contributor license agreements. See the NOTICE file | |
6 | * distributed with this work for additional information | |
7 | * regarding copyright ownership. The ASF licenses this file | |
8 | * to you under the Apache License, Version 2.0 (the | |
9 | * "License"); you may not use this file except in compliance | |
10 | * with the License. You may obtain a copy of the License at | |
11 | * | |
12 | * http://www.apache.org/licenses/LICENSE-2.0 | |
13 | * | |
14 | * Unless required by applicable law or agreed to in writing, | |
15 | * software distributed under the License is distributed on an | |
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
17 | * KIND, either express or implied. See the License for the | |
18 | * specific language governing permissions and limitations | |
19 | * under the License. | |
20 | */ | |
21 | ||
22 | /** | |
23 | * Encapsulate a Doxia exception that indicates that a SiteModule | |
24 | * does not exist or could not be found. | |
25 | * | |
26 | * @author <a href="mailto:jason@maven.org">Jason van Zyl</a> | |
27 | * @version $Id: SiteModuleNotFoundException.java 662767 2008-06-03 12:25:07Z ltheussl $ | |
28 | * @since 1.0 | |
29 | */ | |
30 | public class SiteModuleNotFoundException | |
31 | extends Exception | |
32 | { | |
33 | /** serialVersionUID */ | |
34 | static final long serialVersionUID = 295967936746221567L; | |
35 | ||
36 | /** | |
37 | * Construct a new SiteModuleNotFoundException with the | |
38 | * specified detail message. | |
39 | * | |
40 | * @param message The detailed message. | |
41 | * This can later be retrieved by the Throwable.getMessage() method. | |
42 | */ | |
43 | public SiteModuleNotFoundException( String message ) | |
44 | { | |
45 | 0 | super( message ); |
46 | 0 | } |
47 | ||
48 | /** | |
49 | * Constructs a new SiteModuleNotFoundException with the specified cause. | |
50 | * The error message is (cause == null ? null : cause.toString() ). | |
51 | * | |
52 | * @param cause the cause. This can be retrieved later by the | |
53 | * Throwable.getCause() method. (A null value is permitted, and indicates | |
54 | * that the cause is nonexistent or unknown.) | |
55 | */ | |
56 | public SiteModuleNotFoundException( Throwable cause ) | |
57 | { | |
58 | 0 | super( cause ); |
59 | 0 | } |
60 | ||
61 | /** | |
62 | * Construct a new SiteModuleNotFoundException with the specified | |
63 | * detail message and cause. | |
64 | * | |
65 | * @param message The detailed message. | |
66 | * This can later be retrieved by the Throwable.getMessage() method. | |
67 | * @param cause The cause. This can be retrieved later by the | |
68 | * Throwable.getCause() method. (A null value is permitted, and indicates | |
69 | * that the cause is nonexistent or unknown.) | |
70 | */ | |
71 | public SiteModuleNotFoundException( String message, Throwable cause ) | |
72 | { | |
73 | 0 | super( message, cause ); |
74 | 0 | } |
75 | } |