public class ExceptionInfoImpl extends Object implements ExceptionInfo
| Constructor and Description |
|---|
ExceptionInfoImpl(Throwable t,
Map<String,Object> properties,
List<StackTraceElement> stackTrace) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
The exception class name.
|
String |
getMessage()
The message associated with the exception, possibly null.
|
Object |
getProperty(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.
|
public ExceptionInfoImpl(Throwable t, Map<String,Object> properties, List<StackTraceElement> stackTrace)
public String getClassName()
ExceptionInfogetClassName in interface ExceptionInfopublic String getMessage()
ExceptionInfogetMessage in interface ExceptionInfopublic Object getProperty(String name)
ExceptionInfogetProperty in interface ExceptionInfopublic List<String> getPropertyNames()
ExceptionInfogetPropertyNames in interface ExceptionInfopublic List<StackTraceElement> getStackTrace()
ExceptionInfogetStackTrace in interface ExceptionInfo5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.