org.jfree.report.modules.gui.swing.common
public class ExceptionDialog extends JDialog
Constructor Summary | |
---|---|
ExceptionDialog()
Creates a new ExceptionDialog. |
Method Summary | |
---|---|
void | adjustSize()
Adjusts the size of the dialog to fit the with of the contained message and
stacktrace. |
Exception | getException()
Returns the exception that was the reason for this dialog to show up.
|
String | getMessage()
Returns the message for this exception dialog. |
protected boolean | isScrollerVisible()
Checks, whether the scroll pane of the exception stack trace area is visible.
|
void | setException(Exception e)
Sets the exception for this dialog. |
void | setMessage(String mesg)
Sets the message for this exception dialog. |
protected void | setScrollerVisible(boolean b)
Defines, whether the scroll pane of the exception stack trace area is visible.
|
static void | showExceptionDialog(String title, String message, Exception e)
Shows an default dialog with the given message and title and the exceptions
stacktrace in the detail area.
|
Returns: the exception.
Returns: the message.
Returns: true, if the scroller is visible, false otherwise.
Parameters: e the exception.
Parameters: mesg the message.
Parameters: b true, if the scroller should be visible, false otherwise.
Parameters: title the title. message the message. e the exception.