Class ExceptionInfoImpl
- java.lang.Object
-
- org.apache.tapestry5.ioc.internal.services.ExceptionInfoImpl
-
- All Implemented Interfaces:
ExceptionInfo
public class ExceptionInfoImpl extends java.lang.Object implements ExceptionInfo
-
-
Constructor Summary
Constructors Constructor Description ExceptionInfoImpl(java.lang.Throwable t, java.util.Map<java.lang.String,java.lang.Object> properties, java.util.List<java.lang.StackTraceElement> stackTrace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()The exception class name.java.lang.StringgetMessage()The message associated with the exception, possibly null.java.lang.ObjectgetProperty(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.
-
-
-
Constructor Detail
-
ExceptionInfoImpl
public ExceptionInfoImpl(java.lang.Throwable t, java.util.Map<java.lang.String,java.lang.Object> properties, java.util.List<java.lang.StackTraceElement> stackTrace)
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
Description copied from interface:ExceptionInfoThe exception class name.- Specified by:
getClassNamein interfaceExceptionInfo
-
getMessage
public java.lang.String getMessage()
Description copied from interface:ExceptionInfoThe message associated with the exception, possibly null.- Specified by:
getMessagein interfaceExceptionInfo
-
getProperty
public java.lang.Object getProperty(java.lang.String name)
Description copied from interface:ExceptionInfoReturns a specific property of the exception by name.- Specified by:
getPropertyin interfaceExceptionInfo
-
getPropertyNames
public java.util.List<java.lang.String> getPropertyNames()
Description copied from interface:ExceptionInfoReturns the names of the properties of the exception, sorted alphabetically.- Specified by:
getPropertyNamesin interfaceExceptionInfo
-
getStackTrace
public java.util.List<java.lang.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
-
-