|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.libvirt.Error
public class Error
Nested Class Summary | |
---|---|
static class |
Error.ErrorDomain
|
static class |
Error.ErrorLevel
|
static class |
Error.ErrorNumber
|
Constructor Summary | |
---|---|
Error()
|
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 |
java.lang.String |
getMessage()
Returns human-readable informative error messag |
Network |
getNet()
Returns the network associated with the error, if available |
java.lang.String |
getStr1()
|
java.lang.String |
getStr2()
|
java.lang.String |
getStr3()
|
boolean |
hasConn()
Does this error has a valid Connection object attached? NOTE: deprecated, should return false |
boolean |
hasDom()
Does this error has a valid Domain object attached? NOTE: deprecated, should return false |
boolean |
hasNet()
Does this error has a valid Network object attached? NOTE: deprecated, should return false |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Error()
Method Detail |
---|
public Error.ErrorNumber getCode()
public Error.ErrorDomain getDomain()
public java.lang.String getMessage()
public Error.ErrorLevel getLevel()
public java.lang.String getStr1()
public java.lang.String getStr2()
public java.lang.String getStr3()
public int getInt1()
public int getInt2()
public boolean hasConn()
public Connect getConn() throws ErrorException
ErrorException
public boolean hasDom()
public Domain getDom() throws ErrorException
ErrorException
public boolean hasNet()
public Network getNet() throws ErrorException
ErrorException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |