org.libvirt
public class Error extends Object
| Nested Class Summary | |
|---|---|
| static class | Error.ErrorDomain |
| static class | Error.ErrorLevel |
| static class | Error.ErrorNumber |
| Method Summary | |
|---|---|
| Error.ErrorNumber | getCode()
Gets he error code |
| Connect | getConn()
returns the Connection associated with the error, if available
Deprecated, always throw an exception now
|
| Domain | getDom()
returns the Domain associated with the error, if available
|
| 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
|
| Network | getNet()
Returns the network associated with the error, if available
|
| 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?
|
| String | toString() |
Returns: a VirErroNumber
Returns: the Connect object
Throws: ErrorException
Returns: Domain object
Throws: ErrorException
Returns: a ErrorDomain
Returns: extra number information
Returns: extra number information
Returns: a ErrorLevel
Returns: error message
Returns: Network object
Throws: ErrorException
Returns: extra string information
Returns: extra string information
Returns: extra string information
Returns: false
Returns: false
Returns: false