[all packages] [package BR.unicamp.Guarana] [class hierarchy] [index]

public class BR.unicamp.Guarana.MetaException

(source file: /home/lsd/oliva/src/java/guarana/kaffe/libraries/extensions/guarana/javalib/BR/unicamp/Guarana/MetaException.java)
java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----BR.unicamp.Guarana.MetaException

The pure class interface.
public class MetaException
  extends RuntimeException
This exception encapsulates any Exception that is produced by a MetaObject or other objects it invokes while handling an Operation.


Constuctor Index

O MetaException(Throwable, String)
Constructs an MetaException with a detail message.
O MetaException(Throwable)
Constructs an MetaException without a detail message.

Variables Index

O thrown
The thrown value encapsulated in this Exception.

Methods

O getException()
Obtains the Throwable that was encapsulated in the MetaException.
O getLocalizedMessage()
Returns the localized detail message of this MetaException.
O getMessage()
Returns the detail message of this MetaException.

Constructors

O MetaException
public MetaException(Throwable thrown);
Constructs an MetaException without a detail message.

Parameters:
thrown - the Throwable thrown in the meta-level.

O MetaException

public MetaException(Throwable thrown,
                     String s);
Constructs an MetaException with a detail message.

Parameters:
thrown - the Throwable thrown in the meta-level.
s - the detail message.

Variables

O thrown
public final Throwable thrown;
The thrown value encapsulated in this Exception.

Methods

O getLocalizedMessage
public String getLocalizedMessage();
Returns the localized detail message of this MetaException.

Returns:
the optional detail message provided at construction time, concatenated with the string that represents the encapsulated exception.
Overrides:
getLocalizedMessage in class Throwable

O getMessage

public String getMessage();
Returns the detail message of this MetaException.

Returns:
the optional detail message provided at construction time, concatenated with the string that represents the encapsulated exception.
Overrides:
getMessage in class Throwable

O getException

public Throwable getException();
Obtains the Throwable that was encapsulated in the MetaException.

Returns:
the Throwable.


[all packages] [package BR.unicamp.Guarana] [class hierarchy] [index]
BR.unicamp.Guarana.MetaException.html