public class StatusTool extends Object
Constructor and Description |
---|
StatusTool() |
Modifier and Type | Method and Description |
---|---|
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.
|
static Throwable |
findException(org.eclipse.core.runtime.IStatus status) |
static String |
toLogMessage(org.eclipse.core.runtime.IStatus status)
Converts to given status to a log message.
|
public static String collectProblems(org.eclipse.core.runtime.IStatus status)
IStatus.OK
don't add to the constructed message.public static String toLogMessage(org.eclipse.core.runtime.IStatus status)
public static Throwable findException(org.eclipse.core.runtime.IStatus status)
Copyright © 2008–2024 Eclipse Foundation. All rights reserved.