|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gnu.glib.Boxed | +--org.gnu.glib.Error
The class represents an internal representation of an Error from the GTK and GNOME libraries. It should never be returned to the application layer. The Java-GNOME API should throw an exception that contains the relevant information contained within this object. This resource must be freed when you are finished with it via the free() method.
Constructor Summary | |
Error(Quark domain,
int code,
java.lang.String message)
Construct a new Error object. |
Method Summary | |
void |
free()
Free the resources associated with this object |
Quark |
getDomain()
Return the domain for this error. |
int |
getErrorCode()
Return the error code associated with this error. |
java.lang.String |
getErrorMessage()
Return the error message associated with this error. |
Methods inherited from class org.gnu.glib.Boxed |
equals, getHandle |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Error(Quark domain, int code, java.lang.String message)
Method Detail |
public Quark getDomain()
public int getErrorCode()
public java.lang.String getErrorMessage()
public void free()
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |