All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.glassfish.jersey.server.internal.LocalizationMessages Maven / Gradle / Ivy

There is a newer version: 2.0-rc1
Show newest version

package org.glassfish.jersey.server.internal;

import org.glassfish.jersey.internal.l10n.Localizable;
import org.glassfish.jersey.internal.l10n.LocalizableMessageFactory;
import org.glassfish.jersey.internal.l10n.Localizer;


/**
 * Defines string formatting method for each constant in the resource file
 * 
 */
public final class LocalizationMessages {

    private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory("org.glassfish.jersey.server.internal.localization");
    private final static Localizer localizer = new Localizer();

    public static Localizable localizableERRORS_AND_WARNINGS_DETECTED_WITH_RESOURCE_CLASSES(Object arg0) {
        return messageFactory.getMessage("errors.and.warnings.detected.with.resource.classes", arg0);
    }

    /**
     * The following errors and warnings have been detected with resource classes: {0}
     * 
     */
    public static String ERRORS_AND_WARNINGS_DETECTED_WITH_RESOURCE_CLASSES(Object arg0) {
        return localizer.localize(localizableERRORS_AND_WARNINGS_DETECTED_WITH_RESOURCE_CLASSES(arg0));
    }

    public static Localizable localizableMETHOD_PARAMETER_CANNOT_BE_NULL(Object arg0) {
        return messageFactory.getMessage("method.parameter.cannot.be.null", arg0);
    }

    /**
     * Method parameter "{0}" cannot be null.
     * 
     */
    public static String METHOD_PARAMETER_CANNOT_BE_NULL(Object arg0) {
        return localizer.localize(localizableMETHOD_PARAMETER_CANNOT_BE_NULL(arg0));
    }

    public static Localizable localizableAMBIGUOUS_RMS_OUT(Object arg0, Object arg1, Object arg2, Object arg3) {
        return messageFactory.getMessage("ambiguous.rms.out", arg0, arg1, arg2, arg3);
    }

    /**
     * A resource, {0}, has ambiguous (sub-)resource method for HTTP method {1} and output mime-types as defined by @Produces annotation at Java methods {2} and {3}.
     * 
     */
    public static String AMBIGUOUS_RMS_OUT(Object arg0, Object arg1, Object arg2, Object arg3) {
        return localizer.localize(localizableAMBIGUOUS_RMS_OUT(arg0, arg1, arg2, arg3));
    }

    public static Localizable localizableAMBIGUOUS_RMS_IN(Object arg0, Object arg1, Object arg2, Object arg3) {
        return messageFactory.getMessage("ambiguous.rms.in", arg0, arg1, arg2, arg3);
    }

    /**
     * A resource, {0}, has ambiguous (sub-)resource method for HTTP method {1} and input mime-types as defined by @Consumes annotation at Java methods {2} and {3}. This could cause an error for conflicting output types!
     * 
     */
    public static String AMBIGUOUS_RMS_IN(Object arg0, Object arg1, Object arg2, Object arg3) {
        return localizer.localize(localizableAMBIGUOUS_RMS_IN(arg0, arg1, arg2, arg3));
    }

    public static Localizable localizableCLOSEABLE_UNABLE_TO_CLOSE(Object arg0) {
        return messageFactory.getMessage("closeable.unable.to.close", arg0);
    }

    /**
     * Error while closing {0}.
     * 
     */
    public static String CLOSEABLE_UNABLE_TO_CLOSE(Object arg0) {
        return localizer.localize(localizableCLOSEABLE_UNABLE_TO_CLOSE(arg0));
    }

    public static Localizable localizableDEFAULT_COULD_NOT_PROCESS_METHOD(Object arg0, Object arg1) {
        return messageFactory.getMessage("default.could.not.process.method", arg0, arg1);
    }

    /**
     * Default value, {0} could not be processed by method {1}.
     * 
     */
    public static String DEFAULT_COULD_NOT_PROCESS_METHOD(Object arg0, Object arg1) {
        return localizer.localize(localizableDEFAULT_COULD_NOT_PROCESS_METHOD(arg0, arg1));
    }

    public static Localizable localizableUNABLE_TO_LOAD_CLASS(Object arg0) {
        return messageFactory.getMessage("unable.to.load.class", arg0);
    }

    /**
     * Class "{0}" cannot be loaded.
     * 
     */
    public static String UNABLE_TO_LOAD_CLASS(Object arg0) {
        return localizer.localize(localizableUNABLE_TO_LOAD_CLASS(arg0));
    }

    public static Localizable localizableSUB_RES_METHOD_TREATED_AS_RES_METHOD(Object arg0, Object arg1) {
        return messageFactory.getMessage("sub.res.method.treated.as.res.method", arg0, arg1);
    }

    /**
     * A sub-resource method, {0}, with URI template, "{1}", is treated as a resource method
     * 
     */
    public static String SUB_RES_METHOD_TREATED_AS_RES_METHOD(Object arg0, Object arg1) {
        return localizer.localize(localizableSUB_RES_METHOD_TREATED_AS_RES_METHOD(arg0, arg1));
    }

    public static Localizable localizableMULTIPLE_HTTP_METHOD_DESIGNATORS(Object arg0, Object arg1) {
        return messageFactory.getMessage("multiple.http.method.designators", arg0, arg1);
    }

    /**
     * A (sub-)resource method, {0}, should have only one HTTP method designator. It currently has the following designators defined: {1}
     * 
     */
    public static String MULTIPLE_HTTP_METHOD_DESIGNATORS(Object arg0, Object arg1) {
        return localizer.localize(localizableMULTIPLE_HTTP_METHOD_DESIGNATORS(arg0, arg1));
    }

    public static Localizable localizableGET_CONSUMES_ENTITY(Object arg0) {
        return messageFactory.getMessage("get.consumes.entity", arg0);
    }

    /**
     * A HTTP GET method, {0}, should not consume any entity.
     * 
     */
    public static String GET_CONSUMES_ENTITY(Object arg0) {
        return localizer.localize(localizableGET_CONSUMES_ENTITY(arg0));
    }

    public static Localizable localizableTYPE_OF_METHOD_NOT_RESOLVABLE_TO_CONCRETE_TYPE(Object arg0, Object arg1) {
        return messageFactory.getMessage("type.of.method.not.resolvable.to.concrete.type", arg0, arg1);
    }

    /**
     * Return type, {0}, of method, {1}, is not resolvable to a concrete type"
     * 
     */
    public static String TYPE_OF_METHOD_NOT_RESOLVABLE_TO_CONCRETE_TYPE(Object arg0, Object arg1) {
        return localizer.localize(localizableTYPE_OF_METHOD_NOT_RESOLVABLE_TO_CONCRETE_TYPE(arg0, arg1));
    }

    public static Localizable localizableCHUNKED_RESPONSE_CLOSED() {
        return messageFactory.getMessage("chunked.response.closed");
    }

    /**
     * This ChunkedResponse has been closed.
     * 
     */
    public static String CHUNKED_RESPONSE_CLOSED() {
        return localizer.localize(localizableCHUNKED_RESPONSE_CLOSED());
    }

    public static Localizable localizableMETHOD_PARAMETER_CANNOT_BE_NULL_OR_EMPTY(Object arg0) {
        return messageFactory.getMessage("method.parameter.cannot.be.null.or.empty", arg0);
    }

    /**
     * Method parameter "{0}" cannot be null or empty.
     * 
     */
    public static String METHOD_PARAMETER_CANNOT_BE_NULL_OR_EMPTY(Object arg0) {
        return localizer.localize(localizableMETHOD_PARAMETER_CANNOT_BE_NULL_OR_EMPTY(arg0));
    }

    public static Localizable localizableERROR_PROCESSING_METHOD(Object arg0, Object arg1) {
        return messageFactory.getMessage("error.processing.method", arg0, arg1);
    }

    /**
     * Error processing resource method, {0}, for ResourceMethodDispatchProvider, {1}.
     * 
     */
    public static String ERROR_PROCESSING_METHOD(Object arg0, Object arg1) {
        return localizer.localize(localizableERROR_PROCESSING_METHOD(arg0, arg1));
    }

    public static Localizable localizableNON_PUB_SUB_RES_LOC(Object arg0) {
        return messageFactory.getMessage("non.pub.sub.res.loc", arg0);
    }

    /**
     * A sub-resource model, {0}, MUST be public scoped otherwise the method is ignored
     * 
     */
    public static String NON_PUB_SUB_RES_LOC(Object arg0) {
        return localizer.localize(localizableNON_PUB_SUB_RES_LOC(arg0));
    }

    public static Localizable localizableINVALID_MAPPING_TYPE(Object arg0) {
        return messageFactory.getMessage("invalid.mapping.type", arg0);
    }

    /**
     * Provided {0} property value type is invalid. Acceptable types are String and String[].
     * 
     */
    public static String INVALID_MAPPING_TYPE(Object arg0) {
        return localizer.localize(localizableINVALID_MAPPING_TYPE(arg0));
    }

    public static Localizable localizableERROR_PARAMETER_MISSING_VALUE_PROVIDER(Object arg0, Object arg1) {
        return messageFactory.getMessage("error.parameter.missing.value.provider", arg0, arg1);
    }

    /**
     * No injection source found for a parameter of type {1} at index {0}.
     * 
     */
    public static String ERROR_PARAMETER_MISSING_VALUE_PROVIDER(Object arg0, Object arg1) {
        return localizer.localize(localizableERROR_PARAMETER_MISSING_VALUE_PROVIDER(arg0, arg1));
    }

    public static Localizable localizableGET_RETURNS_VOID(Object arg0) {
        return messageFactory.getMessage("get.returns.void", arg0);
    }

    /**
     * A HTTP GET method, {0}, MUST return a non-void type.
     * 
     */
    public static String GET_RETURNS_VOID(Object arg0) {
        return localizer.localize(localizableGET_RETURNS_VOID(arg0));
    }

    public static Localizable localizableSUBRES_METHOD_URI_PATH_INVALID(Object arg0, Object arg1) {
        return messageFactory.getMessage("subres.method.uri.path.invalid", arg0, arg1);
    }

    /**
     * A sub-resource method, {0}, has an invalid URI path: {1}
     * 
     */
    public static String SUBRES_METHOD_URI_PATH_INVALID(Object arg0, Object arg1) {
        return localizer.localize(localizableSUBRES_METHOD_URI_PATH_INVALID(arg0, arg1));
    }

    public static Localizable localizableCLOSEABLE_INJECTED_REQUEST_CONTEXT_NULL(Object arg0) {
        return messageFactory.getMessage("closeable.injected.request.context.null", arg0);
    }

    /**
     * Injected request context is 'null' on thread {0}.
     * 
     */
    public static String CLOSEABLE_INJECTED_REQUEST_CONTEXT_NULL(Object arg0) {
        return localizer.localize(localizableCLOSEABLE_INJECTED_REQUEST_CONTEXT_NULL(arg0));
    }

    public static Localizable localizableERROR_UNSUPPORTED_ENCODING(Object arg0, Object arg1) {
        return messageFactory.getMessage("error.unsupported.encoding", arg0, arg1);
    }

    /**
     * The encoding {0} is not supported for parameter {1}.
     * 
     */
    public static String ERROR_UNSUPPORTED_ENCODING(Object arg0, Object arg1) {
        return localizer.localize(localizableERROR_UNSUPPORTED_ENCODING(arg0, arg1));
    }

    public static Localizable localizableAMBIGUOUS_SRLS(Object arg0, Object arg1, Object arg2) {
        return messageFactory.getMessage("ambiguous.srls", arg0, arg1, arg2);
    }

    /**
     * A resource, {0}, has ambiguous sub-resource model for URI template {1}, which matches with template {2}
     * 
     */
    public static String AMBIGUOUS_SRLS(Object arg0, Object arg1, Object arg2) {
        return localizer.localize(localizableAMBIGUOUS_SRLS(arg0, arg1, arg2));
    }

    public static Localizable localizableERROR_UNMARSHALLING_JAXB(Object arg0) {
        return messageFactory.getMessage("error.unmarshalling.jaxb", arg0);
    }

    /**
     * Error unmarshalling JAXB object of type "{0}".
     * 
     */
    public static String ERROR_UNMARSHALLING_JAXB(Object arg0) {
        return localizer.localize(localizableERROR_UNMARSHALLING_JAXB(arg0));
    }

    public static Localizable localizableSUBRES_LOC_HAS_ENTITY_PARAM(Object arg0) {
        return messageFactory.getMessage("subres.loc.has.entity.param", arg0);
    }

    /**
     * A sub-resource model, {0}, can not have an entity parameter. Try to move the parameter to the corresponding resource method.
     * 
     */
    public static String SUBRES_LOC_HAS_ENTITY_PARAM(Object arg0) {
        return localizer.localize(localizableSUBRES_LOC_HAS_ENTITY_PARAM(arg0));
    }

    public static Localizable localizableERROR_WRITING_RESPONSE_ENTITY_CHUNK() {
        return messageFactory.getMessage("error.writing.response.entity.chunk");
    }

    /**
     * An I/O error has occurred while writing a response message entity chunk to the container output stream.
     * 
     */
    public static String ERROR_WRITING_RESPONSE_ENTITY_CHUNK() {
        return localizer.localize(localizableERROR_WRITING_RESPONSE_ENTITY_CHUNK());
    }

    public static Localizable localizableRESOURCE_LOOKUP_FAILED(Object arg0) {
        return messageFactory.getMessage("resource.lookup.failed", arg0);
    }

    /**
     * Lookup and initialization failed for a resource class: {0}.
     * 
     */
    public static String RESOURCE_LOOKUP_FAILED(Object arg0) {
        return localizer.localize(localizableRESOURCE_LOOKUP_FAILED(arg0));
    }

    public static Localizable localizableAMBIGUOUS_RESOURCE_METHOD(Object arg0) {
        return messageFactory.getMessage("ambiguous.resource.method", arg0);
    }

    /**
     * "Multiple methods found to suit client request with accept header {0}. Selected the first method from the following list.
     * 
     */
    public static String AMBIGUOUS_RESOURCE_METHOD(Object arg0) {
        return localizer.localize(localizableAMBIGUOUS_RESOURCE_METHOD(arg0));
    }

    public static Localizable localizableSUBRES_LOC_RETURNS_VOID(Object arg0) {
        return messageFactory.getMessage("subres.loc.returns.void", arg0);
    }

    /**
     * A sub-resource model, {0}, MUST return a non-void type.
     * 
     */
    public static String SUBRES_LOC_RETURNS_VOID(Object arg0) {
        return localizer.localize(localizableSUBRES_LOC_RETURNS_VOID(arg0));
    }

    public static Localizable localizableINVALID_MAPPING_KEY_EMPTY(Object arg0, Object arg1) {
        return messageFactory.getMessage("invalid.mapping.key.empty", arg0, arg1);
    }

    /**
     * The key in {0} mappings record "{1}" is empty.
     * 
     */
    public static String INVALID_MAPPING_KEY_EMPTY(Object arg0, Object arg1) {
        return localizer.localize(localizableINVALID_MAPPING_KEY_EMPTY(arg0, arg1));
    }

    public static Localizable localizableRESOURCE_IMPLEMENTS_PROVIDER(Object arg0, Object arg1) {
        return messageFactory.getMessage("resource.implements.provider", arg0, arg1);
    }

    /**
     * A resource, {0}, implements provider interface {1} but does not explicitly define the scope (@Singleton, @PerLookup). The resource class will be managed as singleton.
     * 
     */
    public static String RESOURCE_IMPLEMENTS_PROVIDER(Object arg0, Object arg1) {
        return localizer.localize(localizableRESOURCE_IMPLEMENTS_PROVIDER(arg0, arg1));
    }

    public static Localizable localizableNEW_AR_CREATED_BY_INTROSPECTION_MODELER(Object arg0) {
        return messageFactory.getMessage("new.ar.created.by.introspection.modeler", arg0);
    }

    /**
     * A new abstract resource created by IntrospectionModeler: {0}
     * 
     */
    public static String NEW_AR_CREATED_BY_INTROSPECTION_MODELER(Object arg0) {
        return localizer.localize(localizableNEW_AR_CREATED_BY_INTROSPECTION_MODELER(arg0));
    }

    public static Localizable localizableNON_INSTANTIABLE_CLASS(Object arg0) {
        return messageFactory.getMessage("non.instantiable.class", arg0);
    }

    /**
     * Resource/provider class {0} cannot be instantiated and will be ignored.
     * 
     */
    public static String NON_INSTANTIABLE_CLASS(Object arg0) {
        return localizer.localize(localizableNON_INSTANTIABLE_CLASS(arg0));
    }

    public static Localizable localizableGET_CONSUMES_FORM_PARAM(Object arg0) {
        return messageFactory.getMessage("get.consumes.form.param", arg0);
    }

    /**
     * A HTTP GET method, {0}, should not consume any form parameter.
     * 
     */
    public static String GET_CONSUMES_FORM_PARAM(Object arg0) {
        return localizer.localize(localizableGET_CONSUMES_FORM_PARAM(arg0));
    }

    public static Localizable localizableSINGLETON_INJECTS_PARAMETER(Object arg0, Object arg1) {
        return messageFactory.getMessage("singleton.injects.parameter", arg0, arg1);
    }

    /**
     * Parameter {1} of {0} cannot be injected into singleton resource.
     * 
     */
    public static String SINGLETON_INJECTS_PARAMETER(Object arg0, Object arg1) {
        return localizer.localize(localizableSINGLETON_INJECTS_PARAMETER(arg0, arg1));
    }

    public static Localizable localizableAMBIGUOUS_PARAMETER(Object arg0, Object arg1) {
        return messageFactory.getMessage("ambiguous.parameter", arg0, arg1);
    }

    /**
     * Parameter {1} of {0} MUST be only one of a path, query, matrix or header parameter.
     * 
     */
    public static String AMBIGUOUS_PARAMETER(Object arg0, Object arg1) {
        return localizer.localize(localizableAMBIGUOUS_PARAMETER(arg0, arg1));
    }

    public static Localizable localizableAMBIGUOUS_NON_ANNOTATED_PARAMETER(Object arg0, Object arg1) {
        return messageFactory.getMessage("ambiguous.non.annotated.parameter", arg0, arg1);
    }

    /**
     * Method {0} on resource {1} contains multiple parameters with no annotation. Unable to resolve the injection source.
     * 
     */
    public static String AMBIGUOUS_NON_ANNOTATED_PARAMETER(Object arg0, Object arg1) {
        return localizer.localize(localizableAMBIGUOUS_NON_ANNOTATED_PARAMETER(arg0, arg1));
    }

    public static Localizable localizableAMBIGUOUS_FATAL_RMS(Object arg0, Object arg1, Object arg2, Object arg3) {
        return messageFactory.getMessage("ambiguous.fatal.rms", arg0, arg1, arg2, arg3);
    }

    /**
     * A resource, {0}, has ambiguous (sub-)resource method for HTTP method {1} and input mime-types as defined by @Consumes and @Produces annotations at Java methods {2} and {3}. These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.
     * 
     */
    public static String AMBIGUOUS_FATAL_RMS(Object arg0, Object arg1, Object arg2, Object arg3) {
        return localizer.localize(localizableAMBIGUOUS_FATAL_RMS(arg0, arg1, arg2, arg3));
    }

    public static Localizable localizablePARAMETER_UNRESOLVABLE(Object arg0, Object arg1, Object arg2) {
        return messageFactory.getMessage("parameter.unresolvable", arg0, arg1, arg2);
    }

    /**
     * Parameter {0} of type {1} from {2} is not resolvable to a concrete type.
     * 
     */
    public static String PARAMETER_UNRESOLVABLE(Object arg0, Object arg1, Object arg2) {
        return localizer.localize(localizablePARAMETER_UNRESOLVABLE(arg0, arg1, arg2));
    }

    public static Localizable localizableNON_PUB_SUB_RES_METHOD(Object arg0) {
        return messageFactory.getMessage("non.pub.sub.res.method", arg0);
    }

    /**
     * A sub-resource method, {0}, MUST be public scoped otherwise the method is ignored
     * 
     */
    public static String NON_PUB_SUB_RES_METHOD(Object arg0) {
        return localizer.localize(localizableNON_PUB_SUB_RES_METHOD(arg0));
    }

    public static Localizable localizableRES_URI_PATH_INVALID(Object arg0, Object arg1) {
        return messageFactory.getMessage("res.uri.path.invalid", arg0, arg1);
    }

    /**
     * A root resource class, {0}, has an invalid URI path: {1}.
     * 
     */
    public static String RES_URI_PATH_INVALID(Object arg0, Object arg1) {
        return localizer.localize(localizableRES_URI_PATH_INVALID(arg0, arg1));
    }

    public static Localizable localizableINVALID_MAPPING_FORMAT(Object arg0, Object arg1) {
        return messageFactory.getMessage("invalid.mapping.format", arg0, arg1);
    }

    /**
     * Provided {0} property value "{1}" is invalid. It should contain two parts, key and value, separated by ':'.
     * 
     */
    public static String INVALID_MAPPING_FORMAT(Object arg0, Object arg1) {
        return localizer.localize(localizableINVALID_MAPPING_FORMAT(arg0, arg1));
    }

    public static Localizable localizableERROR_MARSHALLING_JAXB(Object arg0) {
        return messageFactory.getMessage("error.marshalling.jaxb", arg0);
    }

    /**
     * Error marshalling JAXB object of type "{0}".
     * 
     */
    public static String ERROR_MARSHALLING_JAXB(Object arg0) {
        return localizer.localize(localizableERROR_MARSHALLING_JAXB(arg0));
    }

    public static Localizable localizableINVALID_MAPPING_VALUE_EMPTY(Object arg0, Object arg1) {
        return messageFactory.getMessage("invalid.mapping.value.empty", arg0, arg1);
    }

    /**
     * The value in {0} mappings record "{1}" is empty.
     * 
     */
    public static String INVALID_MAPPING_VALUE_EMPTY(Object arg0, Object arg1) {
        return localizer.localize(localizableINVALID_MAPPING_VALUE_EMPTY(arg0, arg1));
    }

    public static Localizable localizableWARNINGS_DETECTED_WITH_RESOURCE_CLASSES(Object arg0) {
        return messageFactory.getMessage("warnings.detected.with.resource.classes", arg0);
    }

    /**
     * The following warnings have been detected with resource classes: {0}
     * 
     */
    public static String WARNINGS_DETECTED_WITH_RESOURCE_CLASSES(Object arg0) {
        return localizer.localize(localizableWARNINGS_DETECTED_WITH_RESOURCE_CLASSES(arg0));
    }

    public static Localizable localizableFORM_PARAM_METHOD_ERROR() {
        return messageFactory.getMessage("form.param.method.error");
    }

    /**
     * The @FormParam is utilized when the request method is GET
     * 
     */
    public static String FORM_PARAM_METHOD_ERROR() {
        return localizer.localize(localizableFORM_PARAM_METHOD_ERROR());
    }

    public static Localizable localizableFORM_PARAM_CONTENT_TYPE_ERROR() {
        return messageFactory.getMessage("form.param.content-type.error");
    }

    /**
     * The @FormParam is utilized when the content type of the request entity is not application/x-www-form-urlencoded
     * 
     */
    public static String FORM_PARAM_CONTENT_TYPE_ERROR() {
        return localizer.localize(localizableFORM_PARAM_CONTENT_TYPE_ERROR());
    }

    public static Localizable localizableWARNING_MSG(Object arg0) {
        return messageFactory.getMessage("warning.msg", arg0);
    }

    /**
     * WARNING: {0}
     * 
     */
    public static String WARNING_MSG(Object arg0) {
        return localizer.localize(localizableWARNING_MSG(arg0));
    }

    public static Localizable localizableINVALID_CONFIG_PROPERTY_VALUE(Object arg0, Object arg1) {
        return messageFactory.getMessage("invalid.config.property.value", arg0, arg1);
    }

    /**
     * Invalid value for {0} configuration property: {1}
     * 
     */
    public static String INVALID_CONFIG_PROPERTY_VALUE(Object arg0, Object arg1) {
        return localizer.localize(localizableINVALID_CONFIG_PROPERTY_VALUE(arg0, arg1));
    }

    public static Localizable localizableERROR_PRIMITIVE_TYPE_NULL() {
        return messageFactory.getMessage("error.primitive.type.null");
    }

    /**
     * The request entity cannot be empty.
     * 
     */
    public static String ERROR_PRIMITIVE_TYPE_NULL() {
        return localizer.localize(localizableERROR_PRIMITIVE_TYPE_NULL());
    }

    public static Localizable localizableRC_NOT_MODIFIABLE() {
        return messageFactory.getMessage("rc.not.modifiable");
    }

    /**
     * The resource configuration is not modifiable in this context.
     * 
     */
    public static String RC_NOT_MODIFIABLE() {
        return localizer.localize(localizableRC_NOT_MODIFIABLE());
    }

    public static Localizable localizableNON_PUB_RES_METHOD(Object arg0) {
        return messageFactory.getMessage("non.pub.res.method", arg0);
    }

    /**
     * A resource method, {0}, MUST be public scoped otherwise the method is ignored
     * 
     */
    public static String NON_PUB_RES_METHOD(Object arg0) {
        return localizer.localize(localizableNON_PUB_RES_METHOD(arg0));
    }

    public static Localizable localizableSUBRES_LOC_URI_PATH_INVALID(Object arg0, Object arg1) {
        return messageFactory.getMessage("subres.loc.uri.path.invalid", arg0, arg1);
    }

    /**
     * A sub-resource model, {0}, has an invalid URI path: {1}
     * 
     */
    public static String SUBRES_LOC_URI_PATH_INVALID(Object arg0, Object arg1) {
        return localizer.localize(localizableSUBRES_LOC_URI_PATH_INVALID(arg0, arg1));
    }

    public static Localizable localizableERROR_WRITING_RESPONSE_ENTITY() {
        return messageFactory.getMessage("error.writing.response.entity");
    }

    /**
     * An I/O error has occurred while writing a response message entity to the container output stream.
     * 
     */
    public static String ERROR_WRITING_RESPONSE_ENTITY() {
        return localizer.localize(localizableERROR_WRITING_RESPONSE_ENTITY());
    }

    public static Localizable localizableRESOURCE_MULTIPLE_SCOPE_ANNOTATIONS(Object arg0) {
        return messageFactory.getMessage("resource.multiple.scope.annotations", arg0);
    }

    /**
     * A resource, {0}, is annotated with multiple scope annotations. Only one scope annotation is allowed for the resource.
     * 
     */
    public static String RESOURCE_MULTIPLE_SCOPE_ANNOTATIONS(Object arg0) {
        return localizer.localize(localizableRESOURCE_MULTIPLE_SCOPE_ANNOTATIONS(arg0));
    }

    public static Localizable localizableBROADCASTER_LISTENER_EXCEPTION(Object arg0) {
        return messageFactory.getMessage("broadcaster.listener.exception", arg0);
    }

    /**
     * {0} thrown from BroadcasterListener.
     * 
     */
    public static String BROADCASTER_LISTENER_EXCEPTION(Object arg0) {
        return localizer.localize(localizableBROADCASTER_LISTENER_EXCEPTION(arg0));
    }

    public static Localizable localizableERROR_MSG(Object arg0) {
        return messageFactory.getMessage("error.msg", arg0);
    }

    /**
     * ERROR: {0}
     * 
     */
    public static String ERROR_MSG(Object arg0) {
        return localizer.localize(localizableERROR_MSG(arg0));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy