Module org.eclipse.persistence.core
Class EclipseLinkLocalization
java.lang.Object
org.eclipse.persistence.internal.localization.EclipseLinkLocalization
- Direct Known Subclasses:
DMSLocalization,ExceptionLocalization,JAXBLocalization,LoggingLocalization,LoggingLocalization,ToStringLocalization,TraceLocalization
Purpose: Any EclipseLink message in Foundation Library & J2EE Integration JARs should be a subclass of this class. Creation date: (7/12/00)
- Since:
- TOPLink/Java 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildMessage(String localizationClassName, String key, Object[] arguments) Return the message for the given exception class and error number.static StringbuildMessage(String localizationClassName, String key, Object[] arguments, boolean translate) INTERNAL: Return the message for the given exception class and error number.
-
Constructor Details
-
EclipseLinkLocalization
public EclipseLinkLocalization()
-
-
Method Details
-
buildMessage
Return the message for the given exception class and error number. -
buildMessage
public static String buildMessage(String localizationClassName, String key, Object[] arguments, boolean translate) INTERNAL: Return the message for the given exception class and error number. Based on the state of the translate flag - look up translation for the key:value message
-