|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Xj3DErrorReporter
Generalised interface for reporting errors and messages of any kind that happens in the browser.
The error reporter does not get given the same messages as those from the
Xj3DStatusListener interface. That interface is for transient
messages such as descriptions of objects as you mouse over them. This
interface is used for longer-lasting messages, such as those that would be
recorded in a logging interface. What is seen here is the same as the
error console messages if you were running the full browser.
Where methods provide both a string and exception, either of the values may be null, but not both at the same time. Exceptions presented will be those available in the SAI and this package, not internal to the browser, unless there is something fatal that we miss. Any translation between exception types will be automatically handled by the implementation before being sent to this interface.
| 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 |
warningReport(java.lang.String msg,
java.lang.Exception e)
Notification of a warning in the way the system is currently operating. |
| Method Detail |
|---|
void partialReport(java.lang.String msg)
msg - The text of the message to be displayedvoid messageReport(java.lang.String msg)
msg - The text of the message to be displayed
void warningReport(java.lang.String msg,
java.lang.Exception e)
msg - The text of the message to be displayede - The exception that caused this warning. May be null
VRMLException - This is bad enough that the reporter should stop
what they are currently doing.
void errorReport(java.lang.String msg,
java.lang.Exception e)
msg - The text of the message to be displayede - The exception that caused this warning. May be null
VRMLException - This is bad enough that the reporter should stop
what they are currently doing.
void fatalErrorReport(java.lang.String msg,
java.lang.Exception e)
msg - The text of the message to be displayede - The exception that caused this warning. May be null
VRMLException - This is bad enough that the reporter should stop
what they are currently doing.
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||