Interface ExceptionInfo
-
- All Known Implementing Classes:
ExceptionInfoImpl
public interface ExceptionInfo
Contains information about an analyzed exception.- See Also:
ExceptionAnalysis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetClassName()The exception class name.java.lang.StringgetMessage()The message associated with the exception, possibly null.java.lang.ObjectgetProperty(java.lang.String name)Returns a specific property of the exception by name.java.util.List<java.lang.String>getPropertyNames()Returns the names of the properties of the exception, sorted alphabetically.java.util.List<java.lang.StackTraceElement>getStackTrace()Returns the stack trace elements.
-
-
-
Method Detail
-
getClassName
java.lang.String getClassName()
The exception class name.
-
getMessage
java.lang.String getMessage()
The message associated with the exception, possibly null.
-
getPropertyNames
java.util.List<java.lang.String> getPropertyNames()
Returns the names of the properties of the exception, sorted alphabetically.
-
getProperty
java.lang.Object getProperty(java.lang.String name)
Returns a specific property of the exception by name.
-
getStackTrace
java.util.List<java.lang.StackTraceElement> getStackTrace()
Returns the stack trace elements. Generally this is an empty list except for the deepest exception.
-
-