Class ExceptionUtils

java.lang.Object
org.eclipse.lemminx.utils.ExceptionUtils

public class ExceptionUtils extends Object
Exception Utils
  • Method Details

    • getRootCause

      public static Throwable getRootCause(Throwable t)
      Returns the root cause of a Throwable
      Parameters:
      t - the top level Throwable
      Returns:
      the root cause of t, or t itself if it has no cause.