Module eclipselink

Class LoggingLocalization


  • public class LoggingLocalization
    extends org.eclipse.persistence.internal.localization.EclipseLinkLocalization
    • Constructor Detail

      • LoggingLocalization

        public LoggingLocalization()
    • Method Detail

      • buildMessage

        public static String buildMessage​(String key,
                                          Object[] arguments)
        Return the message for the given exception class and error number.
      • buildMessage

        public static String buildMessage​(String key,
                                          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