Mon, 28 May 2018 10:36:45 +0800
Merge
1 #
2 # Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
26 # Wrapped into an Exception. Not concatenated with any other string.
27 NOT_MARSHALLABLE = \
28 the object parameter to marshal() is not marshallable
30 # Not concatenated with any other string (written on a separate line).
31 UNSUPPORTED_RESULT = \
32 unsupported javax.xml.parser.transform.Result parameter
34 # Not concatenated with any other string (written on a separate line).
35 UNSUPPORTED_ENCODING = \
36 unsupported encoding: {0}
38 ILLEGAL_PARAMETER = \
39 Illegal "{0}" parameter: {1}
41 # {0} - class name, {2} - method name
42 UNABLE_TO_FIND_CONVERSION_METHOD = \
43 {0} doesn''t have a method {1} {2}();
45 MISSING_ID = \
46 Object "{0}" is found in an IDREF property but this object doesn't have an ID.
48 NOT_IMPLEMENTED_IN_2_0 = \
49 This feature is not available in JAXB RI 2.0
51 UNRECOGNIZED_ELEMENT_NAME = \
52 The tag name "{0}" is not known to this JAXBContext.
54 TYPE_MISMATCH = \
55 "{1}" property of a "{0}" object contains an object of type "{2}" but this is not allowed. \
56 See javadoc of this property for what this property can accept.
58 MISSING_OBJECT = \
59 a required field "{0}" is missing an object
61 NOT_IDENTIFIABLE = \
62 An object is referenced as IDREF but its ID field is null
64 DANGLING_IDREF = \
65 A tree contains a reference to ID "{0}" but it's not a part of the object graph
67 # Wrapped into a IOException. Not concatenated with any other string.
68 NULL_OUTPUT_RESOLVER = \
69 schema output resolver must not be null
71 UNABLE_TO_MARSHAL_NON_ELEMENT = \
72 unable to marshal type "{0}" as an element because it is missing an @XmlRootElement annotation
74 UNABLE_TO_MARSHAL_UNBOUND_CLASS = \
75 unable to marshal type "{0}" as an element because it is not known to this context.
77 UNSUPPORTED_PROPERTY = \
78 "{0}" is not a supported property
80 NULL_PROPERTY_NAME = \
81 property name parameter can not be null
83 MUST_BE_X = \
84 property "{0}" must be an instance of type {1}, not {2}
86 # {0}, {1}, {2} - class name. e.g.: Instance of "com.test.implementation.Implementation" is substituting "com.test.abstractbase.AbstractType", but "com.test.implementation.Implementation" is bound to an anonymous type.
87 SUBSTITUTED_BY_ANONYMOUS_TYPE = \
88 Instance of "{1}" is substituting "{0}", but "{2}" is bound to an anonymous type.
90 CYCLE_IN_MARSHALLER = \
91 A cycle is detected in the object graph. This will cause infinitely deep XML: {0}
93 # {0} - class name
94 UNABLE_TO_DISCOVER_EVENTHANDLER = \
95 Unable to list methods of "{0}". If there is any event callback handler on this class, it will be ignored.
97 ELEMENT_NEEDED_BUT_FOUND_DOCUMENT = \
98 A DOM document "{0}" is found but an element is needed. Use Document.getDocumentElement() and set that object instead.
100 UNKNOWN_CLASS = \
101 {0} nor any of its super class is known to this context.
103 FAILED_TO_GENERATE_SCHEMA = \
104 Failed to generate schema.
106 ERROR_PROCESSING_SCHEMA = \
107 Error during schema processing.
109 ILLEGAL_CONTENT = \
110 Illegal XML content in <{0}>: "{1}".