KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cocoon > woody > datatype > ValidationError


1 /*
2  * Copyright 1999-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.cocoon.woody.datatype;
17
18 import org.apache.excalibur.xml.sax.XMLizable;
19
20 /**
21  * @deprecated Validations error are now a general feature of widgets, not limited
22  * widgets having a datatype.
23  * @see org.apache.cocoon.woody.validation.ValidationError
24  * @version $Id: ValidationError.java 30932 2004-07-29 17:35:38Z vgritsenko $
25  */

26 public class ValidationError extends org.apache.cocoon.woody.validation.ValidationError {
27     
28
29     public ValidationError(String JavaDoc errorMessage, boolean i18n) {
30         super(errorMessage, i18n);
31     }
32
33     public ValidationError(String JavaDoc errorMessageKey) {
34         super(errorMessageKey);
35     }
36
37     public ValidationError(String JavaDoc errorMessageKey, String JavaDoc[] parameters) {
38         super(errorMessageKey, parameters);
39     }
40
41     public ValidationError(String JavaDoc errorMessageKey, String JavaDoc[] parameters, boolean[] keys) {
42         super(errorMessageKey, parameters, keys);
43     }
44
45     public ValidationError(XMLizable errorMessage) {
46         super(errorMessage);
47     }
48
49 }
50
Popular Tags