org.gnu.glib
org.gnome.glib.Error
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.public class Error extends MemStruct
Constructor and Description |
---|
Error(Handle handle)
Deprecated.
|
Error(Quark domain,
int code,
java.lang.String message)
Deprecated.
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.
|
Modifier and Type | Method and Description |
---|---|
protected static Handle |
g_error_new_literal(int domain,
int code,
java.lang.String message)
Deprecated.
|
protected static int |
getCode(Handle obj)
Deprecated.
|
Quark |
getDomain()
Deprecated.
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)
Deprecated.
|
int |
getErrorCode()
Deprecated.
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.
|
java.lang.String |
getErrorMessage()
Deprecated.
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 java.lang.String |
getMessage(Handle obj)
Deprecated.
|
finalize, getMemStructFromHandle
public Error(Quark domain, int code, java.lang.String message)
public Error(Handle handle)
public Quark getDomain()
public int getErrorCode()
public java.lang.String getErrorMessage()
protected static final int getDomain(Handle obj)
protected static final int getCode(Handle obj)
protected static final java.lang.String getMessage(Handle obj)
protected static final Handle g_error_new_literal(int domain, int code, java.lang.String message)