01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: package org.apache.xerces.impl.dv;
19:
20: /**
21: * Datatype exception for invalid facet. This exception is only used by
22: * schema datatypes.
23: *
24: * @xerces.internal
25: *
26: * @author Sandy Gao, IBM
27: *
28: * @version $Id: InvalidDatatypeFacetException.java 446751 2006-09-15 21:54:06Z mrglavas $
29: */
30: public class InvalidDatatypeFacetException extends DatatypeException {
31:
32: /** Serialization version. */
33: static final long serialVersionUID = -4104066085909970654L;
34:
35: /**
36: * Create a new datatype exception by providing an error code and a list
37: * of error message substitution arguments.
38: *
39: * @param key error code
40: * @param args error arguments
41: */
42: public InvalidDatatypeFacetException(String key, Object[] args) {
43: super(key, args);
44: }
45:
46: }
|