com.gargoylesoftware.base.gui
public class ThrowablePanel extends JScrollPane
Version: $Revision: 1.5 $
Field Summary | |
---|---|
static long | serialVersionUID |
JTextArea | textArea_ |
Throwable | throwable_ |
Constructor Summary | |
---|---|
ThrowablePanel()
Create a new panel. | |
ThrowablePanel(Throwable t)
Create a new panel. |
Method Summary | |
---|---|
protected void | assertNotNull(String fieldName, Object fieldValue)
Verify that the specified value is not null. |
Throwable | getException()
Return the exception that is being displayed. |
static String | makeString(Throwable t)
Make a string from the exception. |
void | setException(Throwable t)
Set the exception that is being displayed. |
Parameters: t The exception to display.
Parameters: fieldName The name of the field to check fieldValue The value of the field to check
Throws: DetailedNullPointerException If fieldValue is null
Returns: The exception.
Parameters: t The throwable object
Returns: A string containing the stack trace
Parameters: t The new exception.