public interface IStatus
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Returns the exception cause if any.
|
IStatus[] |
getChildren()
Returns children of a status.
|
java.lang.String |
getCode()
Returns the error code or an empty string if the code is not available.
|
java.lang.String |
getMessage()
Returns an error message.
|
java.lang.String |
getMessage(java.util.Locale locale)
Returns an error message based on the given locale without error code.
|
Severity |
getSeverity()
Returns the severity of the error.
|
boolean |
hasChildren()
Tells if the status has children.
|
java.lang.String getMessage()
Same behavior as getMessage(Locale) with Locale.getDefault().
getMessage(Locale)java.lang.String getMessage(java.util.Locale locale)
If the message for the provided locale is not available, a message in English is returned.
locale - The locale. Use Locale.getDefault() if locale is null.Severity getSeverity()
Severity objectjava.lang.String getCode()
java.lang.Throwable getCause()
Throwable objectboolean hasChildren()
true if the status has children, false otherwisegetChildren()IStatus[] getChildren()
Use hasChildren() to prevent from useless array allocation.
IStatus objectshasChildren()