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. package org.apache.commons.beanutils;
  17. /**
  18. * Thrown to indicate that the <em>Bean Access Language</em> cannot execute query
  19. * against given bean since a nested bean referenced is null.
  20. *
  21. * @author Robert Burrell Donkin
  22. * @since 1.7
  23. */
  24. public class NestedNullException extends BeanAccessLanguageException {
  25. // --------------------------------------------------------- Constuctors
  26. /**
  27. * Constructs a <code>NestedNullException</code> without a detail message.
  28. */
  29. public NestedNullException() {
  30. super();
  31. }
  32. /**
  33. * Constructs a <code>NestedNullException</code> without a detail message.
  34. *
  35. * @param message the detail message explaining this exception
  36. */
  37. public NestedNullException(String message) {
  38. super(message);
  39. }
  40. }