Class StatusTool


  • public class StatusTool
    extends Object
    • Constructor Detail

      • StatusTool

        public StatusTool()
    • Method Detail

      • collectProblems

        public static String collectProblems​(org.eclipse.core.runtime.IStatus status)
        Composes a single line message out of the messages of the status and its recursive children. Children with status severity IStatus.OK don't add to the constructed message.
      • toLogMessage

        public static String toLogMessage​(org.eclipse.core.runtime.IStatus status)
        Converts to given status to a log message. If the status is a multi-status, each child will be written on a separate line, showing the hierarchy will through indentation.
      • findException

        public static Throwable findException​(org.eclipse.core.runtime.IStatus status)