alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (Messages.properties)

This example Java source code file (Messages.properties) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

copyright, foundation, general, gnu, illegal, license, not, oracle, public, see, this, usa, wrapped

The Messages.properties Java example source code

#
# Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.  Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

# Wrapped into an Exception. Not concatenated with any other string.
NOT_MARSHALLABLE = \
        the object parameter to marshal() is not marshallable

# Not concatenated with any other string (written on a separate line).
UNSUPPORTED_RESULT = \
        unsupported javax.xml.parser.transform.Result parameter

# Not concatenated with any other string (written on a separate line).
UNSUPPORTED_ENCODING = \
        unsupported encoding: {0}

ILLEGAL_PARAMETER = \
    Illegal "{0}" parameter: {1}

# {0} - class name, {2} - method name
UNABLE_TO_FIND_CONVERSION_METHOD = \
    {0} doesn''t have a method {1} {2}();

MISSING_ID = \
    Object "{0}" is found in an IDREF property but this object doesn't have an ID.

NOT_IMPLEMENTED_IN_2_0 = \
    This feature is not available in JAXB RI 2.0

UNRECOGNIZED_ELEMENT_NAME = \
    The tag name "{0}" is not known to this JAXBContext.

TYPE_MISMATCH = \
        "{1}" property of a "{0}" object contains an object of type "{2}" but this is not allowed. \
        See javadoc of this property for what this property can accept.

MISSING_OBJECT = \
        a required field "{0}" is missing an object

NOT_IDENTIFIABLE = \
        An object is referenced as IDREF but its ID field is null

DANGLING_IDREF = \
        A tree contains a reference to ID "{0}" but it's not a part of the object graph

# Wrapped into a IOException. Not concatenated with any other string.
NULL_OUTPUT_RESOLVER = \
    schema output resolver must not be null

UNABLE_TO_MARSHAL_NON_ELEMENT = \
    unable to marshal type "{0}" as an element because it is missing an @XmlRootElement annotation

UNABLE_TO_MARSHAL_UNBOUND_CLASS = \
    unable to marshal type "{0}" as an element because it is not known to this context.

UNSUPPORTED_PROPERTY = \
    "{0}" is not a supported property

NULL_PROPERTY_NAME = \
    property name parameter can not be null

MUST_BE_X = \
    property "{0}" must be an instance of type {1}, not {2}

# {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.
SUBSTITUTED_BY_ANONYMOUS_TYPE = \
    Instance of "{1}" is substituting "{0}", but "{2}" is bound to an anonymous type.

CYCLE_IN_MARSHALLER = \
    A cycle is detected in the object graph. This will cause infinitely deep XML: {0}

# {0} - class name
UNABLE_TO_DISCOVER_EVENTHANDLER = \
    Unable to list methods of "{0}". If there is any event callback handler on this class, it will be ignored.

ELEMENT_NEEDED_BUT_FOUND_DOCUMENT = \
    A DOM document "{0}" is found but an element is needed. Use Document.getDocumentElement() and set that object instead.

UNKNOWN_CLASS = \
    {0} nor any of its super class is known to this context.

FAILED_TO_GENERATE_SCHEMA = \
    Failed to generate schema.

ERROR_PROCESSING_SCHEMA = \
    Error during schema processing.

ILLEGAL_CONTENT = \
    Illegal XML content in <{0}>: "{1}".

Other Java examples (source code examples)

Here is a short list of links related to this Java Messages.properties source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.