|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.j3d.util.DefaultErrorReporter
public class DefaultErrorReporter
An implementation of the ErrorReporter interface that just writes everything to System.out.
The default implementation to be used as convenience code for when the end user has not supplied their own instance. By default, any class in this repository that can be given an instance of the handler will use this class, if none are given.
| Constructor Summary | |
|---|---|
DefaultErrorReporter()
Creates a new, default instance of the reporter |
|
| Method Summary | |
|---|---|
void |
errorReport(java.lang.String msg,
java.lang.Exception e)
Notification of a recoverable error. |
void |
fatalErrorReport(java.lang.String msg,
java.lang.Exception e)
Notification of a non-recoverable error that halts the entire system. |
static ErrorReporter |
getDefaultReporter()
Fetch the common global instance of the reporter. |
void |
messageReport(java.lang.String msg)
Notification of an informational message from the system. |
void |
warningReport(java.lang.String msg,
java.lang.Exception e)
Notification of a warning in the way the system is currently operating. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultErrorReporter()
| Method Detail |
|---|
public static ErrorReporter getDefaultReporter()
public void messageReport(java.lang.String msg)
messageReport in interface ErrorReportermsg - The general message string to report. May be null
public void warningReport(java.lang.String msg,
java.lang.Exception e)
warningReport in interface ErrorReportermsg - The text of the message to be displayede - The exception that caused this warning. May be null
public void errorReport(java.lang.String msg,
java.lang.Exception e)
errorReport in interface ErrorReportermsg - The text of the message to be displayede - The exception that caused this warning. May be null
public void fatalErrorReport(java.lang.String msg,
java.lang.Exception e)
fatalErrorReport in interface ErrorReportermsg - The text of the message to be displayede - The exception that caused this warning. May be null
|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||