A status object represents the outcome of an operation. All
CoreException
s carry a status object to indicate what went wrong. Status objects are also returned by methods needing to provide details of failures (e.g., validation methods).
A status carries the following information:
- plug-in identifier (required)
- severity (required)
- status code (required)
- message (required) - localized to current locale
- exception (optional) - for problems stemming from a failure at a lower level
Some status objects, known as multi-statuses, have other status objects as children.
The class Status
is the standard public implementation of status objects; the subclass MultiStatus
is the implements multi-status objects.
This interface can be used without OSGi running.
@see MultiStatus
@see Status