oscript.util
Class SwingErrorHandler

java.lang.Object
  extended byoscript.util.ErrorHandler
      extended byoscript.util.SwingErrorHandler

public class SwingErrorHandler
extends ErrorHandler

An implementation of ErrorHandler that uses swing to display an error dialog.

Version:
1
Author:
Rob Clark (rob@ti.com)

Constructor Summary
SwingErrorHandler()
           
 
Method Summary
 void showMessage(java.lang.String str)
          Display an error message to the user.
 
Methods inherited from class oscript.util.ErrorHandler
fatalError, getErrorHandler, setErrorHandler, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingErrorHandler

public SwingErrorHandler()
Method Detail

showMessage

public void showMessage(java.lang.String str)
Display an error message to the user.

Specified by:
showMessage in class ErrorHandler
Parameters:
str - a string describing the error, how the user may correct the error, etc