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  /*** This exception is thrown during repository setup while creating the
20   * custom graffito node types.
21   *
22   * @author <a href="mailto:okiessler@apache.org">Oliver Kiessler</a>
23   * @version $Id: Exp $
24   */
25  public class CustomNodeTypeCreationException extends JcrMappingException {
26  
27      /*** Use serialVersionUID for interoperability. */
28      private final static long serialVersionUID = 3991714987182739219L;
29  
30      /***
31       * Constructor with message.
32       *
33       * @param message the message associated to the exception
34       */
35      public CustomNodeTypeCreationException(String message) {
36          super(message);
37      }
38  
39      /***
40       * Constructor with throwable object.
41       *
42       * @param nested the associated throwable object
43       */
44      public CustomNodeTypeCreationException(Throwable nested) {
45          super(nested);
46      }
47  
48      /***
49       * Constructor with message and throwable object.
50       *
51       * @param message the message associated to the exception
52       * @param nested the associated throwable object
53       */
54      public CustomNodeTypeCreationException(String message, Throwable nested) {
55          super(message, nested);
56      }
57  }