Class Util


  • public final class Util
    extends java.lang.Object
    An internal utility class.
    • Field Detail

      • SECURITY_MANAGER_CREATION_ALREADY_ATTEMPTED

        private static boolean SECURITY_MANAGER_CREATION_ALREADY_ATTEMPTED
    • Constructor Detail

      • Util

        private Util()
    • Method Detail

      • safeGetSystemProperty

        public static java.lang.String safeGetSystemProperty​(java.lang.String key)
      • safeGetBooleanSystemProperty

        public static boolean safeGetBooleanSystemProperty​(java.lang.String key)
      • getCallingClass

        public static java.lang.Class<?> getCallingClass()
        Returns the name of the class which called the invoking method.
        Returns:
        the name of the class which called the invoking method.
      • report

        public static final void report​(java.lang.String msg,
                                        java.lang.Throwable t)
      • report

        public static final void report​(java.lang.String msg)