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()
ExceptionInfo
getClassName
in interface ExceptionInfo
public String getMessage()
ExceptionInfo
getMessage
in interface ExceptionInfo
public Object getProperty(String name)
ExceptionInfo
getProperty
in interface ExceptionInfo
public List<String> getPropertyNames()
ExceptionInfo
getPropertyNames
in interface ExceptionInfo
public List<StackTraceElement> getStackTrace()
ExceptionInfo
getStackTrace
in interface ExceptionInfo
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.