Class Exceptions

java.lang.Object
org.codice.ddf.platform.util.Exceptions

public final class Exceptions extends Object
This utility class defines methods useful to perform on throwable or exception objects.
  • Method Details

    • getFullMessage

      public static String getFullMessage(Throwable th)
      Given a throwable, this traces back through the causes to construct a full message.
      Parameters:
      th - meant to be a nested throwable, but doesn't have to be
      Returns:
      all messages in reverse order (i.e. root cause message is first!)