org.eclipse.persistence.jpa.rs.logging
Class LoggingLocalization
java.lang.Object
org.eclipse.persistence.internal.localization.EclipseLinkLocalization
org.eclipse.persistence.jpa.rs.logging.LoggingLocalization
public class LoggingLocalization
- extends org.eclipse.persistence.internal.localization.EclipseLinkLocalization
Method Summary |
static java.lang.String |
buildMessage(java.lang.String key,
java.lang.Object[] arguments)
Return the message for the given exception class and error number. |
static java.lang.String |
buildMessage(java.lang.String key,
java.lang.Object[] arguments,
boolean translate)
INTERNAL:
Return the message for the given exception class and error number. |
Methods inherited from class org.eclipse.persistence.internal.localization.EclipseLinkLocalization |
buildMessage, buildMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingLocalization
public LoggingLocalization()
buildMessage
public static java.lang.String buildMessage(java.lang.String key,
java.lang.Object[] arguments)
- Return the message for the given exception class and error number.
buildMessage
public static java.lang.String buildMessage(java.lang.String key,
java.lang.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
- Parameters:
localizationClassName
- key
- arguments
- translate
-
- Returns: