EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.rs.logging
Class LoggingLocalization

java.lang.Object
  extended by org.eclipse.persistence.internal.localization.EclipseLinkLocalization
      extended by org.eclipse.persistence.jpa.rs.logging.LoggingLocalization

public class LoggingLocalization
extends org.eclipse.persistence.internal.localization.EclipseLinkLocalization


Constructor Summary
LoggingLocalization()
           
 
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
 

Constructor Detail

LoggingLocalization

public LoggingLocalization()
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:
localizationClassName -
key -
arguments -
translate -
Returns:

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference