public class ErrorWriterServer extends java.lang.Object implements ErrorWriter
Constructor and Description |
---|
ErrorWriterServer() |
Modifier and Type | Method and Description |
---|---|
void |
displayError(java.lang.String errmsg)
Displays error message for server side mode.
|
void |
displayErrorRedirected(java.lang.String errmsg)
Displays error message using currently installed writer implementation.
|
boolean |
isInBatchMode()
Checks if the client is running in batch mode.
|
void |
logStackTrace(java.lang.String message)
Write message and stack trace to the client log
|
void |
message(java.lang.String errmsg)
Displays error message for server side mode.
|
void |
messageBox(java.lang.String masterMsg,
java.lang.String title)
Displays error message box with title for server side mode.
|
void |
pause()
Implements pause processing for server side mode.
|
void |
stopBatchSession()
Stops the associated client session by generating UnstoppableExitException.
|
public void displayError(java.lang.String errmsg)
displayError
in interface ErrorWriter
errmsg
- Text of the message to display.public void displayErrorRedirected(java.lang.String errmsg)
displayErrorRedirected
in interface ErrorWriter
errmsg
- Text of the message to display.public boolean isInBatchMode()
isInBatchMode
in interface ErrorWriter
true
for batch mode, false
otherwise.public void message(java.lang.String errmsg)
message
in interface ErrorWriter
errmsg
- Text of the message to display.public void messageBox(java.lang.String masterMsg, java.lang.String title)
messageBox
in interface ErrorWriter
masterMsg
- Text of the message to display.title
- The title for the message box to display.public void pause()
pause
in interface ErrorWriter
public void stopBatchSession()
stopBatchSession
in interface ErrorWriter
public void logStackTrace(java.lang.String message)
logStackTrace
in interface ErrorWriter
message
- the message