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
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildMessage
(String key, Object[] arguments) Return the message for the given exception class and error number.static String
buildMessage
(String key, 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
-
Constructor Details
-
LoggingLocalization
public LoggingLocalization()
-
-
Method Details
-
buildMessage
Return the message for the given exception class and error number. -
buildMessage
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:
-