Class LoggingLocalization


  • public class LoggingLocalization
    extends org.eclipse.persistence.internal.localization.EclipseLinkLocalization
    • 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.
      • 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:
        key -
        arguments -
        translate -
        Returns: