org.gnu.glib

Class JGException

public class JGException extends Exception

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may have an equivalent in java-gnome 4.0, but it will certainly have a better name.

Generic Exception in Java-GNOME. This exception wraps an org.gnu.glib.Error.
Constructor Summary
JGException(Error error)
Method Summary
ErrorgetError()
voidsetError(Error error)

Constructor Detail

JGException

public JGException(Error error)

Method Detail

getError

public Error getError()

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.

Returns: Returns the error.

setError

public void setError(Error error)

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.

Parameters: error The error to set.