1. /*
  2. * $Header: /home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/ValidatorException.java,v 1.8 2004/02/21 17:10:29 rleland Exp $
  3. * $Revision: 1.8 $
  4. * $Date: 2004/02/21 17:10:29 $
  5. *
  6. * ====================================================================
  7. * Copyright 2001-2004 The Apache Software Foundation
  8. *
  9. * Licensed under the Apache License, Version 2.0 (the "License");
  10. * you may not use this file except in compliance with the License.
  11. * You may obtain a copy of the License at
  12. *
  13. * http://www.apache.org/licenses/LICENSE-2.0
  14. *
  15. * Unless required by applicable law or agreed to in writing, software
  16. * distributed under the License is distributed on an "AS IS" BASIS,
  17. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. * See the License for the specific language governing permissions and
  19. * limitations under the License.
  20. */
  21. package org.apache.commons.validator;
  22. /**
  23. * The base exception for the Validator Framework. All other
  24. * <code>Exception</code>s thrown during calls to
  25. * <code>Validator.validate()</code> are considered errors.
  26. */
  27. public class ValidatorException extends Exception {
  28. /**
  29. * Constructs an Exception with no specified detail message.
  30. */
  31. public ValidatorException() {
  32. super();
  33. }
  34. /**
  35. * Constructs an Exception with the specified detail message.
  36. *
  37. * @param message The error message.
  38. */
  39. public ValidatorException(String message) {
  40. super(message);
  41. }
  42. }