Class ExceptionInfoImpl
- java.lang.Object
-
- org.apache.tapestry5.ioc.internal.services.ExceptionInfoImpl
-
- All Implemented Interfaces:
ExceptionInfo
public class ExceptionInfoImpl extends Object implements ExceptionInfo
-
-
Constructor Summary
Constructors Constructor Description ExceptionInfoImpl(Throwable t, Map<String,Object> properties, List<StackTraceElement> stackTrace)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
ExceptionInfoImpl
public ExceptionInfoImpl(Throwable t, Map<String,Object> properties, List<StackTraceElement> stackTrace)
-
-
Method Detail
-
getClassName
public String getClassName()
Description copied from interface:ExceptionInfoThe exception class name.- Specified by:
getClassNamein interfaceExceptionInfo
-
getMessage
public String getMessage()
Description copied from interface:ExceptionInfoThe message associated with the exception, possibly null.- Specified by:
getMessagein interfaceExceptionInfo
-
getProperty
public Object getProperty(String name)
Description copied from interface:ExceptionInfoReturns a specific property of the exception by name.- Specified by:
getPropertyin interfaceExceptionInfo
-
getPropertyNames
public List<String> getPropertyNames()
Description copied from interface:ExceptionInfoReturns the names of the properties of the exception, sorted alphabetically.- Specified by:
getPropertyNamesin interfaceExceptionInfo
-
getStackTrace
public List<StackTraceElement> getStackTrace()
Description copied from interface:ExceptionInfoReturns the stack trace elements. Generally this is an empty list except for the deepest exception.- Specified by:
getStackTracein interfaceExceptionInfo
-
-