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
-
-
Constructor Summary
Constructors Constructor Description LoggingLocalization()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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:
key
-arguments
-translate
-- Returns:
-
-