org.libvirt
public class Error extends Object implements Serializable
| Nested Class Summary | |
|---|---|
| static class | Error.ErrorDomain |
| static class | Error.ErrorLevel |
| static class | Error.ErrorNumber |
| Constructor Summary | |
|---|---|
| Error() | |
| Error(virError vError) | |
| Method Summary | |
|---|---|
| Error.ErrorNumber | getCode()
Gets he error code
|
| Error.ErrorDomain | getDomain()
Tells What part of the library raised this error
|
| int | getInt1() |
| int | getInt2() |
| Error.ErrorLevel | getLevel()
Tells how consequent is the error
|
| String | getMessage()
Returns human-readable informative error messag
|
| String | getStr1() |
| String | getStr2() |
| String | getStr3() |
| boolean | hasConn()
Does this error has a valid Connection object attached? |
| boolean | hasDom()
Does this error has a valid Domain object attached? |
| boolean | hasNet()
Does this error has a valid Network object attached? |
Returns: a VirErroNumber
Returns: a ErrorDomain
Returns: extra number information
Returns: extra number information
Returns: a ErrorLevel
Returns: error message
Returns: extra string information
Returns: extra string information
Returns: extra string information
Returns: false
Returns: false
Returns: false