public class ExceptionInfo extends java.lang.Object implements IReport, java.io.Serializable
Constructor and Description |
---|
ExceptionInfo() |
ExceptionInfo(java.lang.Throwable tw)
Constructor used by reporting objects.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Returns the name of the exception class, like java.io.IOException
|
java.lang.String |
getMsg()
Returns the message that the given exception provided
|
java.lang.String |
getStack()
Returns a String representation of the stack trace generated at the
time of the exception
|
void |
readXML(org.w3c.dom.Element e) |
void |
setClassName(java.lang.String classname) |
void |
setMsg(java.lang.String msg) |
void |
setStack(java.lang.String stack) |
java.lang.String |
toString() |
void |
writeXML(java.io.PrintWriter pw) |
public ExceptionInfo()
public ExceptionInfo(java.lang.Throwable tw)
tw
- public void setClassName(java.lang.String classname)
public void setMsg(java.lang.String msg)
public void setStack(java.lang.String stack)
public java.lang.String getClassName()
public java.lang.String getMsg()
public java.lang.String getStack()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1998-2014 CA, Inc. All Rights Reserved.