|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.libvirt.VirError
public class VirError
Nested Class Summary | |
---|---|
static class |
VirError.VirErrorDomain
|
static class |
VirError.VirErrorLevel
|
static class |
VirError.VirErrorNumber
|
Constructor Summary | |
---|---|
VirError()
|
Method Summary | |
---|---|
VirError.VirErrorNumber |
getCode()
Gets he error code |
VirConnect |
getConn()
returns the Connection associated with the error, if available |
VirDomain |
getDom()
returns the Domain associated with the error, if available |
VirError.VirErrorDomain |
getDomain()
Tells What part of the library raised this error |
int |
getInt1()
|
int |
getInt2()
|
VirError.VirErrorLevel |
getLevel()
Tells how consequent is the error |
java.lang.String |
getMessage()
Returns human-readable informative error messag |
VirNetwork |
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 atteched? |
boolean |
hasDom()
Does this error has a valid VirDomain object attached? |
boolean |
hasNet()
Does this error has a valid VirNetwork object attached? |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VirError()
Method Detail |
---|
public VirError.VirErrorNumber getCode()
public VirError.VirErrorDomain getDomain()
public java.lang.String getMessage()
public VirError.VirErrorLevel 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 VirConnect getConn() throws VirErrorException
VirErrorException
public boolean hasDom()
public VirDomain getDom() throws VirErrorException
VirErrorException
public boolean hasNet()
public VirNetwork getNet() throws VirErrorException
VirErrorException
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 |