|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--multex.Msg
Services for low-level reporting of any exception. The destinations can be of types OutputStream, Writer, String, and StringBuffer. The exception can be
| Field Summary | |
static java.lang.String |
stackTraceFollows
The String used to separate the message chain of an exception from the stack trace of it. |
| Method Summary | |
static java.lang.String |
getMessages(java.lang.Throwable i_throwable)
Returns the message texts of i_throwable and its chained causing exceptions. |
static java.lang.String |
getReport(java.lang.Throwable i_throwable)
Returns the report of i_throwable and its chained causing exceptions. |
static java.lang.String |
getStackTrace(java.lang.Throwable i_throwable)
Returns the compactified stack trace of i_throwable and its chained causing Throwable exceptions. |
static void |
printMessages(java.io.PrintStream io_destination,
java.lang.Throwable i_throwable)
Reports the message texts of i_throwable and its chained causing exceptions to io_destination |
static void |
printMessages(java.io.PrintWriter io_destination,
java.lang.Throwable i_throwable)
Reports the message texts of i_throwable and its chained causing exceptions to io_destination |
static void |
printMessages(java.lang.StringBuffer io_destination,
java.lang.Throwable i_throwable)
Appends the message texts of i_throwable and its chained causing exceptions to io_destination. |
static void |
printMessages(java.lang.StringBuffer io_destination,
java.lang.Throwable i_throwable,
MultexLocale i_locale,
java.lang.String i_lineSeparator)
Prints the message texts of i_throwable and its chained causing exceptions, detail description here. |
static void |
printMessages(java.lang.Throwable i_throwable)
Reports the message texts of i_throwable and its chained causing exceptions to System.err |
static void |
printReport(java.io.PrintStream io_destination,
java.lang.Throwable i_throwable)
Reports i_throwable and its chained causing exceptions to io_destination |
static void |
printReport(java.io.PrintWriter io_destination,
java.lang.Throwable i_throwable)
Reports i_throwable and its chained causing exceptions to io_destination |
static void |
printReport(java.lang.StringBuffer io_destination,
java.lang.Throwable i_throwable)
Reports i_throwable and its chained causing exceptions to io_destination, detail description here. |
static void |
printReport(java.lang.Throwable i_throwable)
Reports i_throwable and its chained causing exceptions to System.err |
static void |
printStackTrace(java.io.PrintStream io_destination,
java.lang.Throwable i_throwable)
Prints the compactified stack trace of i_throwable and its chained causing Throwable exceptions to io_destination. |
static void |
printStackTrace(java.io.PrintWriter io_destination,
java.lang.Throwable i_throwable)
Prints the compactified stack trace of i_throwable and its chained causing Throwable exceptions to io_destination. |
static void |
printStackTrace(java.lang.StringBuffer io_destination,
java.lang.Throwable i_throwable)
Prints the compactified stack trace of i_throwable and its chained causing Throwable exceptions appending it to io_destination with the default platform line separator. |
static void |
printStackTrace(java.lang.StringBuffer io_destination,
java.lang.Throwable i_throwable,
java.lang.String i_lineSeparator)
Prints the compactified stack trace of i_throwable and all its chained causing Throwable exceptions appending it to io_destination, detail description here. |
static void |
printStackTrace(java.lang.Throwable i_throwable)
Prints the compactified stack trace of i_throwable and its chained causing Throwable exceptions to System.err. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String stackTraceFollows
| Method Detail |
public static void printReport(java.lang.Throwable i_throwable)
printReport(StringBuffer,Throwable)
public static void printReport(java.io.PrintStream io_destination,
java.lang.Throwable i_throwable)
printReport(StringBuffer,Throwable)
public static void printReport(java.io.PrintWriter io_destination,
java.lang.Throwable i_throwable)
printReport(StringBuffer,Throwable)
public static void printReport(java.lang.StringBuffer io_destination,
java.lang.Throwable i_throwable)
printMessages(StringBuffer,Throwable)
and the stack trace of i_throwable by
printStackTrace(StringBuffer,Throwable).
The report is appended to io_destination.
public static java.lang.String getReport(java.lang.Throwable i_throwable)
printReport(StringBuffer,Throwable)public static void printMessages(java.lang.Throwable i_throwable)
printMessages(StringBuffer,Throwable)
public static void printMessages(java.io.PrintStream io_destination,
java.lang.Throwable i_throwable)
printMessages(StringBuffer,Throwable)
public static void printMessages(java.io.PrintWriter io_destination,
java.lang.Throwable i_throwable)
printMessages(StringBuffer,Throwable)public static java.lang.String getMessages(java.lang.Throwable i_throwable)
printMessages(StringBuffer,Throwable)
public static void printMessages(java.lang.StringBuffer io_destination,
java.lang.Throwable i_throwable)
printMessages(StringBuffer,Throwable,MultexLocale,String)
public static void printMessages(java.lang.StringBuffer io_destination,
java.lang.Throwable i_throwable,
MultexLocale i_locale,
java.lang.String i_lineSeparator)
MsgText.appendMessageChain(java.lang.StringBuffer, java.lang.Throwable, java.lang.String).
The concept of chaining causing exceptions is described in the class
Failure.
io_destination - Where the messages are appended to.i_throwable - The exception, which is printed with its causal chain.i_locale - How to localize the exception message, parameters and cause marker.
For default localization without a message text
file take MultexLocale.nullLocale.i_lineSeparator - What separates the lines in the messages.
If null, defaults to Failure.lineSeparator.public static void printStackTrace(java.lang.Throwable i_throwable)
printStackTrace(StringBuffer,Throwable)
public static void printStackTrace(java.io.PrintStream io_destination,
java.lang.Throwable i_throwable)
printStackTrace(StringBuffer,Throwable)
public static void printStackTrace(java.io.PrintWriter io_destination,
java.lang.Throwable i_throwable)
printStackTrace(StringBuffer,Throwable)public static java.lang.String getStackTrace(java.lang.Throwable i_throwable)
printStackTrace(StringBuffer,Throwable)
public static void printStackTrace(java.lang.StringBuffer io_destination,
java.lang.Throwable i_throwable)
printStackTrace(StringBuffer,Throwable,String)
public static void printStackTrace(java.lang.StringBuffer io_destination,
java.lang.Throwable i_throwable,
java.lang.String i_lineSeparator)
io_destination - Where to append the compactified stack trace.i_throwable - The exception to report, possibly containing a chain of
nested cause exceptions.i_lineSeparator - The String following each of the stack trace lines,
if null defaults to the standard platform line separator.Failure.lineSeparator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||