View Javadoc

1   /*
2    * Copyright 2000-2005 The Apache Software Foundation.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.apache.portals.graffito.jcr.exception;
17  
18  
19  /***
20   * Occurs when it is not possible to initialise the Mapper
21   *
22   * @author <a href="mailto:christophe.lombart@sword-technologies.com">Christophe Lombart</a>
23   * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
24   */
25  public class InitMapperException extends JcrMappingException {
26      /*** Use serialVersionUID for interoperability. */
27      private final static long serialVersionUID = 8845469719898820727L;
28  
29      /***
30       * Constructor with message.
31       *
32       * @param message the message associated to the exception
33       */
34      public InitMapperException(String message) {
35          super(message);
36      }
37  
38      /***
39       * Constructor with throwable object.
40       *
41       * @param nested the associated throwable object
42       */
43      public InitMapperException(Throwable nested) {
44          super(nested);
45      }
46  
47      /***
48       * Constructor with message and throwable object.
49       *
50       * @param message the message associated to the exception
51       * @param nested the associated throwable object
52       */
53      public InitMapperException(String message, Throwable nested) {
54          super(message, nested);
55      }
56  }