| java.lang.Object org.jzonic.jlo.error.ConsoleErrorReporter
ConsoleErrorReporter | public class ConsoleErrorReporter implements ErrorReporter(Code) | | The ErrorHandler is used when an exception occurs in the framework. The
exception must not be thrown back to the application that uses jLo.
Therefore we use our own ErrorHandler that sends the Exception together with
a message to System.out.
author: Andreas Mecky author: Terry Dye version: 1.0 |
ConsoleErrorReporter | public ConsoleErrorReporter()(Code) | | Constructor for the ErrorHandler object
|
reportError | public void reportError(String message)(Code) | | This method writes a message
Parameters: message - the message that will be written to System.out |
reportError | public void reportError(String message, Throwable thrown)(Code) | | This method writes a message together with the StackTrace from the
exception
Parameters: message - the message that will be written Parameters: thrown - the excption |
reportError | public void reportError(Throwable thrown)(Code) | | This method writes the StackTrace from the exception
Parameters: thrown - the excption |
|
|