|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xj3d.ui.construct.SystemErrorReporter
public class SystemErrorReporter
An implementation of the ErrorReporter interface that writes all reports to System.out and can be configured to limit the report types that will be produced.
| Constructor Summary | |
|---|---|
SystemErrorReporter()
Creates a new, default instance of the reporter |
|
SystemErrorReporter(boolean logMessage,
boolean logWarning,
boolean logError,
boolean logFatalError)
Constructor |
|
| 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. |
void |
messageReport(java.lang.String msg)
Notification of an informational message from the system. |
void |
partialReport(java.lang.String msg)
Notification of an partial message from the system. |
void |
setReportingLevels(boolean logMessage,
boolean logWarning,
boolean logError,
boolean logFatalError)
Configure the reporting levels |
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 SystemErrorReporter()
public SystemErrorReporter(boolean logMessage,
boolean logWarning,
boolean logError,
boolean logFatalError)
logMessage - Set whether messages should be loggedlogWarning - Set whether warnings should be loggedlogError - Set whether errors should be loggedlogFatalError - Set whether fatal errors should be logged| Method Detail |
|---|
public void partialReport(java.lang.String msg)
msg - The text of the message to be displayedpublic void messageReport(java.lang.String msg)
messageReport in interface org.j3d.util.ErrorReportermsg - The text of the message to be displayed
public void warningReport(java.lang.String msg,
java.lang.Exception e)
warningReport in interface org.j3d.util.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 org.j3d.util.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 org.j3d.util.ErrorReportermsg - The text of the message to be displayede - The exception that caused this warning. May be null
public void setReportingLevels(boolean logMessage,
boolean logWarning,
boolean logError,
boolean logFatalError)
logMessage - Set whether messages should be loggedlogWarning - Set whether warnings should be loggedlogError - Set whether errors should be loggedlogFatalError - Set whether fatal errors should be logged
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||