All Packages Class Hierarchy This Package Previous Next Index
Class att.grappa.ExceptionDisplay
java.lang.Object
|
+----att.grappa.ExceptionDisplay
- public class ExceptionDisplay
- extends Object
A class for displaying exception information in a pop-up frame.
As a convenience, an instance exists as a static member of
the Grappa
class.
- Version:
- 1.1, 30 Sep 1999; Copyright 1996 - 1999 by AT&T Corp.
- Author:
- John Mocenigo, Research @ AT&T Labs
- See Also:
- displayException, displayException
-
ExceptionDisplay(String)
- Creates an instance of the class for displaying exceptions.
-
displayException(Exception)
- Pops up the frame and displays information on the supplied exception.
-
displayException(Exception, String)
- Pops up the frame and displays information on the supplied exception.
ExceptionDisplay
public ExceptionDisplay(String title)
- Creates an instance of the class for displaying exceptions.
- Parameters:
- title - the title for the pop-up frame
displayException
public void displayException(Exception ex)
- Pops up the frame and displays information on the supplied exception.
Initially, a text area displays the message associated with the exception.
By pressing a button, an end-user can view a stack trace as well.
- Parameters:
- ex - the exception about which informtaion is to be displayed.
displayException
public void displayException(Exception ex,
String msg)
- Pops up the frame and displays information on the supplied exception.
Initially, a text area displays the supplied string followed on the
next line by the message associated with the exception.
By pressing a button, an end-user can view a stack trace as well.
- Parameters:
- ex - the exception about which informtaion is to be displayed.
All Packages Class Hierarchy This Package Previous Next Index