View Javadoc
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 1546011 2013-11-27 12:18:20Z hboutemy $
28   * @since 1.0
29   * @deprecated
30   */
31  public class SiteModuleNotFoundException
32      extends Exception
33  {
34      /** serialVersionUID */
35      static final long serialVersionUID = 295967936746221567L;
36  
37      /**
38       * Construct a new SiteModuleNotFoundException with the
39       * specified detail message.
40       *
41       * @param message The detailed message.
42       * This can later be retrieved by the Throwable.getMessage() method.
43       */
44      public SiteModuleNotFoundException( String message )
45      {
46          super( message );
47      }
48  
49      /**
50       * Constructs a new SiteModuleNotFoundException with the specified cause.
51       * The error message is (cause == null ? null : cause.toString() ).
52       *
53       * @param cause the cause. This can be retrieved later by the
54       * Throwable.getCause() method. (A null value is permitted, and indicates
55       * that the cause is nonexistent or unknown.)
56       */
57      public SiteModuleNotFoundException( Throwable cause )
58      {
59          super( cause );
60      }
61  
62      /**
63       * Construct a new SiteModuleNotFoundException with the specified
64       * detail message and cause.
65       *
66       * @param message The detailed message.
67       * This can later be retrieved by the Throwable.getMessage() method.
68       * @param cause The cause. This can be retrieved later by the
69       * Throwable.getCause() method. (A null value is permitted, and indicates
70       * that the cause is nonexistent or unknown.)
71       */
72      public SiteModuleNotFoundException( String message, Throwable cause )
73      {
74          super( message, cause );
75      }
76  }