public class ExceptionInfoImpl extends java.lang.Object implements ExceptionInfo
Constructor and Description |
---|
ExceptionInfoImpl(java.lang.Throwable t,
java.util.Map<java.lang.String,java.lang.Object> properties,
java.util.List<java.lang.StackTraceElement> stackTrace) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
The exception class name.
|
java.lang.String |
getMessage()
The message associated with the exception, possibly null.
|
java.lang.Object |
getProperty(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.
|
public ExceptionInfoImpl(java.lang.Throwable t, java.util.Map<java.lang.String,java.lang.Object> properties, java.util.List<java.lang.StackTraceElement> stackTrace)
public java.lang.String getClassName()
ExceptionInfo
getClassName
in interface ExceptionInfo
public java.lang.String getMessage()
ExceptionInfo
getMessage
in interface ExceptionInfo
public java.lang.Object getProperty(java.lang.String name)
ExceptionInfo
getProperty
in interface ExceptionInfo
public java.util.List<java.lang.String> getPropertyNames()
ExceptionInfo
getPropertyNames
in interface ExceptionInfo
public java.util.List<java.lang.StackTraceElement> getStackTrace()
ExceptionInfo
getStackTrace
in interface ExceptionInfo
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.