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 StringgetClassName()The exception class name.StringgetMessage()The message associated with the exception, possibly null.ObjectgetProperty(String name)Returns a specific property of the exception by name.List<String>getPropertyNames()Returns the names of the properties of the exception, sorted alphabetically.List<StackTraceElement>getStackTrace()Returns the stack trace elements.
-
-
-
Method Detail
-
getClassName
String getClassName()
The exception class name.
-
getMessage
String getMessage()
The message associated with the exception, possibly null.
-
getPropertyNames
List<String> getPropertyNames()
Returns the names of the properties of the exception, sorted alphabetically.
-
getProperty
Object getProperty(String name)
Returns a specific property of the exception by name.
-
getStackTrace
List<StackTraceElement> getStackTrace()
Returns the stack trace elements. Generally this is an empty list except for the deepest exception.
-
-