org.gnu.glib
Class 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.
Error(Handle handle)
|
Error(Quark domain, int code, String message) - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
protected static Handle | g_error_new_literal(int domain, int code, String message)
|
protected static int | getCode(Handle obj)
|
Quark | getDomain() - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
protected static int | getDomain(Handle obj)
|
int | getErrorCode() - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
String | getErrorMessage() - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
protected static String | getMessage(Handle obj)
|
Error
public Error(Handle handle)
Error
public Error(Quark domain,
int code,
String message)
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Construct a new Error object. This object is used to retrieve errors from
the native layer. The java-gnome library will rarely return an object of
this type. It will convert it into an exception that will be thrown to
the application layer.
g_error_new_literal
protected static final Handle g_error_new_literal(int domain,
int code,
String message)
getCode
protected static final int getCode(Handle obj)
getDomain
public Quark getDomain()
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Return the domain for this error.
- The Quark object that represents the domain for this error.
getDomain
protected static final int getDomain(Handle obj)
getErrorCode
public int getErrorCode()
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Return the error code associated with this error.
- The error code for this error.
getErrorMessage
public String getErrorMessage()
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Return the error message associated with this error.
- The error message for this error.
getMessage
protected static final String getMessage(Handle obj)