Tabnine Logo
System.logE
Code IndexAdd Tabnine to your IDE (free)

How to use
logE
method
in
java.lang.System

Best Java code snippets using java.lang.System.logE (Showing top 20 results out of 315)

origin: robovm/robovm

public TzDataAndroid(String... paths) {
 for (String path : paths) {
  if (loadData(path)) {
   return;
  }
 }
 // We didn't find any usable tzdata on disk, so let's just hard-code knowledge of "GMT".
 // This is actually implemented in TimeZone itself, so if this is the only time zone
 // we report, we won't be asked any more questions.
 System.logE("Couldn't find any tzdata!");
 version = "missing";
 zoneTab = "# Emergency fallback data.\n";
 ids = new String[] { "GMT" };
 byteOffsets = rawUtcOffsets = new int[1];
}
origin: robovm/robovm

  private static void finalizerTimedOut(Object object) {
    // The current object has exceeded the finalization deadline; abort!
    String message = object.getClass().getName() + ".finalize() timed out after "
        + (MAX_FINALIZE_NANOS / NANOS_PER_SECOND) + " seconds";
    Exception syntheticException = new TimeoutException(message);
    // We use the stack from where finalize() was running to show where it was stuck.
    syntheticException.setStackTrace(FinalizerDaemon.INSTANCE.getStackTrace());
    Thread.UncaughtExceptionHandler h = Thread.getDefaultUncaughtExceptionHandler();
    if (h == null) {
      // If we have no handler, log and exit.
      System.logE(message, syntheticException);
      System.exit(2);
    }
    // Otherwise call the handler to do crash reporting.
    // We don't just throw because we're not the thread that
    // timed out; we're the thread that detected it.
    h.uncaughtException(Thread.currentThread(), syntheticException);
  }
}
origin: robovm/robovm

private boolean loadData(String path) {
 try {
  mappedFile = MemoryMappedFile.mmapRO(path);
 } catch (ErrnoException errnoException) {
  return false;
 }
 try {
  readHeader();
  return true;
 } catch (Exception ex) {
  // Something's wrong with the file.
  // Log the problem and return false so we try the next choice.
  System.logE("tzdata file \"" + path + "\" was present but invalid!", ex);
  return false;
 }
}
origin: robovm/robovm

  defaultSocketFactory = (SocketFactory) sfc.newInstance();
} catch (Exception e) {
  System.logE("Problem creating " + defaultName, e);
origin: robovm/robovm

  @FindBugsSuppressWarnings("FI_EXPLICIT_INVOCATION")
  private void doFinalize(FinalizerReference<?> reference) {
    FinalizerReference.remove(reference);
    Object object = reference.get();
    reference.clear();
    try {
      finalizingStartedNanos = System.nanoTime();
      finalizingObject = object;
      synchronized (FinalizerWatchdogDaemon.INSTANCE) {
        FinalizerWatchdogDaemon.INSTANCE.notify();
      }
      object.finalize();
    } catch (Throwable ex) {
      // The RI silently swallows these, but Android has always logged.
      System.logE("Uncaught exception thrown by finalizer", ex);
    } finally {
      finalizingObject = null;
    }
  }
}
origin: MobiVM/robovm

public TzDataAndroid(String... paths) {
 for (String path : paths) {
  if (loadData(path)) {
   return;
  }
 }
 // We didn't find any usable tzdata on disk, so let's just hard-code knowledge of "GMT".
 // This is actually implemented in TimeZone itself, so if this is the only time zone
 // we report, we won't be asked any more questions.
 System.logE("Couldn't find any tzdata!");
 version = "missing";
 zoneTab = "# Emergency fallback data.\n";
 ids = new String[] { "GMT" };
 byteOffsets = rawUtcOffsets = new int[1];
}
origin: ibinti/bugvm

public TzDataAndroid(String... paths) {
 for (String path : paths) {
  if (loadData(path)) {
   return;
  }
 }
 // We didn't find any usable tzdata on disk, so let's just hard-code knowledge of "GMT".
 // This is actually implemented in TimeZone itself, so if this is the only time zone
 // we report, we won't be asked any more questions.
 System.logE("Couldn't find any tzdata!");
 version = "missing";
 zoneTab = "# Emergency fallback data.\n";
 ids = new String[] { "GMT" };
 byteOffsets = rawUtcOffsets = new int[1];
}
origin: com.mobidevelop.robovm/robovm-rt

public TzDataAndroid(String... paths) {
 for (String path : paths) {
  if (loadData(path)) {
   return;
  }
 }
 // We didn't find any usable tzdata on disk, so let's just hard-code knowledge of "GMT".
 // This is actually implemented in TimeZone itself, so if this is the only time zone
 // we report, we won't be asked any more questions.
 System.logE("Couldn't find any tzdata!");
 version = "missing";
 zoneTab = "# Emergency fallback data.\n";
 ids = new String[] { "GMT" };
 byteOffsets = rawUtcOffsets = new int[1];
}
origin: com.gluonhq/robovm-rt

public TzDataAndroid(String... paths) {
 for (String path : paths) {
  if (loadData(path)) {
   return;
  }
 }
 // We didn't find any usable tzdata on disk, so let's just hard-code knowledge of "GMT".
 // This is actually implemented in TimeZone itself, so if this is the only time zone
 // we report, we won't be asked any more questions.
 System.logE("Couldn't find any tzdata!");
 version = "missing";
 zoneTab = "# Emergency fallback data.\n";
 ids = new String[] { "GMT" };
 byteOffsets = rawUtcOffsets = new int[1];
}
origin: com.bugvm/bugvm-rt

public TzDataAndroid(String... paths) {
 for (String path : paths) {
  if (loadData(path)) {
   return;
  }
 }
 // We didn't find any usable tzdata on disk, so let's just hard-code knowledge of "GMT".
 // This is actually implemented in TimeZone itself, so if this is the only time zone
 // we report, we won't be asked any more questions.
 System.logE("Couldn't find any tzdata!");
 version = "missing";
 zoneTab = "# Emergency fallback data.\n";
 ids = new String[] { "GMT" };
 byteOffsets = rawUtcOffsets = new int[1];
}
origin: FlexoVM/flexovm

public TzDataAndroid(String... paths) {
 for (String path : paths) {
  if (loadData(path)) {
   return;
  }
 }
 // We didn't find any usable tzdata on disk, so let's just hard-code knowledge of "GMT".
 // This is actually implemented in TimeZone itself, so if this is the only time zone
 // we report, we won't be asked any more questions.
 System.logE("Couldn't find any tzdata!");
 version = "missing";
 zoneTab = "# Emergency fallback data.\n";
 ids = new String[] { "GMT" };
 byteOffsets = rawUtcOffsets = new int[1];
}
origin: MobiVM/robovm

  private static void finalizerTimedOut(Object object) {
    // The current object has exceeded the finalization deadline; abort!
    String message = object.getClass().getName() + ".finalize() timed out after "
        + (MAX_FINALIZE_NANOS / NANOS_PER_SECOND) + " seconds";
    Exception syntheticException = new TimeoutException(message);
    // We use the stack from where finalize() was running to show where it was stuck.
    syntheticException.setStackTrace(FinalizerDaemon.INSTANCE.getStackTrace());
    Thread.UncaughtExceptionHandler h = Thread.getDefaultUncaughtExceptionHandler();
    if (h == null) {
      // If we have no handler, log and exit.
      System.logE(message, syntheticException);
      System.exit(2);
    }
    // Otherwise call the handler to do crash reporting.
    // We don't just throw because we're not the thread that
    // timed out; we're the thread that detected it.
    h.uncaughtException(Thread.currentThread(), syntheticException);
  }
}
origin: ibinti/bugvm

private boolean loadData(String path) {
 try {
  mappedFile = MemoryMappedFile.mmapRO(path);
 } catch (ErrnoException errnoException) {
  return false;
 }
 try {
  readHeader();
  return true;
 } catch (Exception ex) {
  // Something's wrong with the file.
  // Log the problem and return false so we try the next choice.
  System.logE("tzdata file \"" + path + "\" was present but invalid!", ex);
  return false;
 }
}
origin: com.bugvm/bugvm-rt

private boolean loadData(String path) {
 try {
  mappedFile = MemoryMappedFile.mmapRO(path);
 } catch (ErrnoException errnoException) {
  return false;
 }
 try {
  readHeader();
  return true;
 } catch (Exception ex) {
  // Something's wrong with the file.
  // Log the problem and return false so we try the next choice.
  System.logE("tzdata file \"" + path + "\" was present but invalid!", ex);
  return false;
 }
}
origin: MobiVM/robovm

private boolean loadData(String path) {
 try {
  mappedFile = MemoryMappedFile.mmapRO(path);
 } catch (ErrnoException errnoException) {
  return false;
 }
 try {
  readHeader();
  return true;
 } catch (Exception ex) {
  // Something's wrong with the file.
  // Log the problem and return false so we try the next choice.
  System.logE("tzdata file \"" + path + "\" was present but invalid!", ex);
  return false;
 }
}
origin: com.mobidevelop.robovm/robovm-rt

private boolean loadData(String path) {
 try {
  mappedFile = MemoryMappedFile.mmapRO(path);
 } catch (ErrnoException errnoException) {
  return false;
 }
 try {
  readHeader();
  return true;
 } catch (Exception ex) {
  // Something's wrong with the file.
  // Log the problem and return false so we try the next choice.
  System.logE("tzdata file \"" + path + "\" was present but invalid!", ex);
  return false;
 }
}
origin: com.gluonhq/robovm-rt

private boolean loadData(String path) {
 try {
  mappedFile = MemoryMappedFile.mmapRO(path);
 } catch (ErrnoException errnoException) {
  return false;
 }
 try {
  readHeader();
  return true;
 } catch (Exception ex) {
  // Something's wrong with the file.
  // Log the problem and return false so we try the next choice.
  System.logE("tzdata file \"" + path + "\" was present but invalid!", ex);
  return false;
 }
}
origin: FlexoVM/flexovm

private boolean loadData(String path) {
 try {
  mappedFile = MemoryMappedFile.mmapRO(path);
 } catch (ErrnoException errnoException) {
  return false;
 }
 try {
  readHeader();
  return true;
 } catch (Exception ex) {
  // Something's wrong with the file.
  // Log the problem and return false so we try the next choice.
  System.logE("tzdata file \"" + path + "\" was present but invalid!", ex);
  return false;
 }
}
origin: FlexoVM/flexovm

  @FindBugsSuppressWarnings("FI_EXPLICIT_INVOCATION")
  private void doFinalize(FinalizerReference<?> reference) {
    FinalizerReference.remove(reference);
    Object object = reference.get();
    reference.clear();
    try {
      finalizingStartedNanos = System.nanoTime();
      finalizingObject = object;
      synchronized (FinalizerWatchdogDaemon.INSTANCE) {
        FinalizerWatchdogDaemon.INSTANCE.notify();
      }
      object.finalize();
    } catch (Throwable ex) {
      // The RI silently swallows these, but Android has always logged.
      System.logE("Uncaught exception thrown by finalizer", ex);
    } finally {
      finalizingObject = null;
    }
  }
}
origin: MobiVM/robovm

  @FindBugsSuppressWarnings("FI_EXPLICIT_INVOCATION")
  private void doFinalize(FinalizerReference<?> reference) {
    FinalizerReference.remove(reference);
    Object object = reference.get();
    reference.clear();
    try {
      finalizingStartedNanos = System.nanoTime();
      finalizingObject = object;
      synchronized (FinalizerWatchdogDaemon.INSTANCE) {
        FinalizerWatchdogDaemon.INSTANCE.notify();
      }
      object.finalize();
    } catch (Throwable ex) {
      // The RI silently swallows these, but Android has always logged.
      System.logE("Uncaught exception thrown by finalizer", ex);
    } finally {
      finalizingObject = null;
    }
  }
}
java.langSystemlogE

Popular methods of System

  • currentTimeMillis
    Returns the current time in milliseconds. Note that while the unit of time of the return value is a
  • getProperty
    Returns the value of a particular system property. The defaultValue will be returned if no such prop
  • arraycopy
  • exit
  • setProperty
    Sets the value of a particular system property.
  • nanoTime
    Returns the current timestamp of the most precise timer available on the local system, in nanosecond
  • getenv
    Returns the value of the environment variable with the given name, or null if no such variable exist
  • getProperties
    Returns the system properties. Note that this is not a copy, so that changes made to the returned Pr
  • identityHashCode
    Returns an integer hash code for the parameter. The hash code returned is the same one that would be
  • getSecurityManager
    Gets the system security interface.
  • gc
    Indicates to the VM that it would be a good time to run the garbage collector. Note that this is a h
  • lineSeparator
    Returns the system's line separator. On Android, this is "\n". The value comes from the value of the
  • gc,
  • lineSeparator,
  • clearProperty,
  • setOut,
  • setErr,
  • console,
  • loadLibrary,
  • load,
  • setSecurityManager,
  • mapLibraryName

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • getSystemService (Context)
  • setContentView (Activity)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • JPanel (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now