uk.ac.soton.itinnovation.grid.client.swing
Class SwingErrorDialog
java.lang.Object
uk.ac.soton.itinnovation.grid.client.swing.SwingErrorDialog
public class SwingErrorDialog
- extends Object
Display errors and exceptions in a Swing dialog box.
|
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
SwingErrorDialog
public SwingErrorDialog()
reportError
public static void reportError(Container parentComponent,
Exception ex,
Object object)
- Report an exception in a dialog box.
The exception's full stacktrace is also logged using log4j.
If the current thread is not the Swing thread, SwingUtilities.invokeLater is used automatically.
reportError
public static void reportError(Exception ex)
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.