Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
lib
Class StatusException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--lib.StatusException
All Implemented Interfaces: Serializable
public class StatusException extends RuntimeException
StatusException is used to pass a Status object from a test code which is
terminated abnormaly. In many cases this is because of an exception thrown,
but that can also be any other event that hinders the test execution.
See Also: Serialized Form
Field Summary
protected Throwable
exceptionThrown
Contains an exception if the StatusException was created with
StatusException(String, Throwable) constructor.
protected Status
status
The Status contained in the StatusException.
exceptionThrown
protected Throwable exceptionThrown
Contains an exception if the StatusException was created with
StatusException(String, Throwable) constructor.
status
protected Status status
The Status contained in the StatusException.
StatusException
public StatusException (String message,
Throwable t)
Constructs a StatusException containing an exception Status.
Parameters: message
- the message of the StatusExceptiont
- the exception of the exception Status
StatusException
public StatusException (Status st)
Creates a StatusException containing a Status.
getThrownException
public Throwable getThrownException ()
Returns: an exception, if this represents an exception Status,
false otherwise.
getStatus
public Status getStatus ()
Returns: a status contained in the StatusException.