|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
CauseGetter | Describes, how to get the causing exception of a caused Throwable, which is
not a subclass of Failure |
MultexException | Marks an exception as to be handled especially by MsgText. |
Class Summary | |
Assertion | Tool for checking unexpected programming errors |
Awt | Services for reporting onto AWT Dialogs the messages for any exception with dynamic or static or no internationalization. |
Jdk1_1CauseGetter | Deprecated. Since MulTEx 5: Preferably use the ReflectionCauseGetter , which
is default since MulTEx 3e. |
Jdk1_4CauseGetter | Describes, how to get the causing exception of any exception in JDK 1.4 with an accessible causing exception. |
Msg | Services for low-level reporting of any exception. |
MsgText | Services for getting the message text for exceptions. |
MultexLocale | Deprecated. since MulTEx 5 2003-09-08 Use only a java.util.ResourceBundle instead,
in which you should define a cause marker,
see MsgText.causeMarker .
|
ReflectionCauseGetter | Describes, how to get the causing exception of any non-MulTEx-exception in any JDK supporting reflection. |
Swing | Services for reporting onto Swing dialogs the messages for any exception with dynamic or static or no internationalization. |
Exception Summary | |
AssertionFailure | Indicates that an assertion failed. |
Exc | Problem-related exception with parameters and internationalizable message text. |
Failure | Indirectly caused exception with parameters, causal chain and internationalizable message text. |
MulTEx - the Multi-Tier Exception Handling Framework.
MulTEx is a simple, but powerful framework for organizing exceptions and messages is a multi-tier Java software system.
It offers the key features:
multex
.
ReflectionCauseGetter
in order to get the cause for
exceptions like java.rmi.ConnectException, which do not have a cause
getter before JDK 1.4.
Msg
for printing the messages of a Throwable chain,
suppress redundant info caused by legacy exception chaining as String,
e.g. Root cause is ..., or nested exception is ...
Msg
for printing the stack trace of a Throwable chain, report a null Throwable
instead of throwing NullPointerException.
Msg
for printing the messages of a Throwable chain,
a) report a null Throwable instead of printing nothing,
b) suppress reporting an object of the exact class Failure
without any own info. See Failure.Failure(Throwable)
shortly
for the concept of a tunneling exception.
printReport(StringBuffer, Throwable, ResourceBundle)
now passes its ResourceBundle to multex.Msg.printMessages(...).
Awt
and Swing
show the reporting dialog
in the AWT event queue thread, instead of the callers thread.
See http://java.sun.com/developer/JDCTechTips/2003/tt1208.html
Awt.countLines(String)
is now public.
": null"
.. Corresponding testcases added.
Swing
for reporting into a Swing dialog
with dynamic or static internationalization.
Interface of class Awt
simplified (incompatible change) and made
uniform with Swing.
Failure.getContainedException(java.lang.Throwable,java.lang.Class)
MsgText.causeMarker
instead of giving it as a separate
argument (incompatible change).
Msg
(incompatible change).
MultexLocale
bundles a ResourceBundle for the message texts,
the Locale for the message parameter substitution, and a cause marker text.
The MultexLocale is electable for each exception message report.
The line separator for low level exception reports is electable, too.
See printMessages(StringBuffer,Throwable,java.util.ResourceBundle)
.
multex.MsgText.setInternationalization(true);
Throwable originalException(Throwable i_throwable)
to get the original exception, which is i_throwable
itself or (may be indirectly) caused it.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |