KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > commons > beanutils > NestedNullException


1 /*
2  * Copyright 2001-2004 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  
17 package org.apache.commons.beanutils;
18
19 /**
20  * Thrown to indicate that the <em>Bean Access Language</em> cannot execute query
21  * against given bean since a nested bean referenced is null.
22  *
23  * @author Robert Burrell Donkin
24  * @since 1.7
25  */

26
27 public class NestedNullException extends BeanAccessLanguageException {
28     
29     // --------------------------------------------------------- Constuctors
30

31     /**
32      * Constructs a <code>NestedNullException</code> without a detail message.
33      */

34     public NestedNullException() {
35         super();
36     }
37     
38     /**
39      * Constructs a <code>NestedNullException</code> without a detail message.
40      *
41      * @param message the detail message explaining this exception
42      */

43     public NestedNullException(String JavaDoc message) {
44         super(message);
45     }
46 }
47
Popular Tags