| java.lang.Object org.eclipse.ui.internal.misc.StatusUtil
StatusUtil | public class StatusUtil (Code) | | Utility class to create status objects.
|
Method Summary | |
protected static List | flatten(IStatus aStatus) | public static Throwable | getCause(Throwable exception) | public static String | getLocalizedMessage(Throwable exception) Returns a localized message describing the given exception. | public static void | handleStatus(IStatus status, int hint, Shell shell) This method must not be called outside the workbench. | public static void | handleStatus(Throwable e, int hint) This method must not be called outside the workbench. | public static void | handleStatus(String message, Throwable e, int hint) This method must not be called outside the workbench. | public static void | handleStatus(String message, Throwable e, int hint, Shell shell) This method must not be called outside the workbench. | public static void | handleStatus(IStatus status, String message, int hint) This method must not be called outside the workbench. | public static void | handleStatus(IStatus status, String message, int hint, Shell shell) This method must not be called outside the workbench. | public static void | handleStatus(String message, int hint) This method must not be called outside the workbench. | public static void | handleStatus(String message, int hint, Shell shell) This method must not be called outside the workbench. | protected static IStatus | newStatus(IStatus[] stati, String message, Throwable exception) This method must not be called outside the workbench. | public static IStatus | newStatus(String pluginId, Throwable exception) | public static IStatus | newStatus(IStatus originalStatus, String newMessage) | public static IStatus | newStatus(String pluginId, String message, Throwable exception) | public static IStatus | newStatus(int severity, String message, Throwable exception) This method must not be called outside the workbench. | public static IStatus | newStatus(List children, String message, Throwable exception) This method must not be called outside the workbench. |
flatten | protected static List flatten(IStatus aStatus)(Code) | | Answer a flat collection of the passed status and its recursive children
|
getLocalizedMessage | public static String getLocalizedMessage(Throwable exception)(Code) | | Returns a localized message describing the given exception. If the given exception does not
have a localized message, this returns the string "An error occurred".
Parameters: exception - |
handleStatus | public static void handleStatus(IStatus status, int hint, Shell shell)(Code) | | This method must not be called outside the workbench.
Utility method for handling status.
|
handleStatus | public static void handleStatus(Throwable e, int hint)(Code) | | This method must not be called outside the workbench.
Utility method for handling status.
|
handleStatus | public static void handleStatus(String message, Throwable e, int hint)(Code) | | This method must not be called outside the workbench.
Utility method for handling status.
|
handleStatus | public static void handleStatus(String message, Throwable e, int hint, Shell shell)(Code) | | This method must not be called outside the workbench.
Utility method for handling status.
|
handleStatus | public static void handleStatus(IStatus status, String message, int hint)(Code) | | This method must not be called outside the workbench.
Utility method for handling status.
|
handleStatus | public static void handleStatus(IStatus status, String message, int hint, Shell shell)(Code) | | This method must not be called outside the workbench.
Utility method for handling status.
|
handleStatus | public static void handleStatus(String message, int hint)(Code) | | This method must not be called outside the workbench.
Utility method for handling status.
|
handleStatus | public static void handleStatus(String message, int hint, Shell shell)(Code) | | This method must not be called outside the workbench.
Utility method for handling status.
|
newStatus | protected static IStatus newStatus(IStatus[] stati, String message, Throwable exception)(Code) | | This method must not be called outside the workbench.
Utility method for creating status.
|
newStatus | public static IStatus newStatus(IStatus originalStatus, String newMessage)(Code) | | Creates a new Status based on the original status, but with a different message
Parameters: originalStatus - Parameters: newMessage - |
newStatus | public static IStatus newStatus(int severity, String message, Throwable exception)(Code) | | This method must not be called outside the workbench.
Utility method for creating status.
|
newStatus | public static IStatus newStatus(List children, String message, Throwable exception)(Code) | | This method must not be called outside the workbench.
Utility method for creating status.
|
|
|