org.apache.tapestry5.ioc.services
Interface ExceptionInfo

All Known Implementing Classes:
ExceptionInfoImpl

public interface ExceptionInfo

Contains information about an analyzed exception.

See Also:
ExceptionAnalysis

Method Summary
 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.
 

Method Detail

getClassName

String getClassName()
The exception class name.


getMessage

String getMessage()
The message associated with the exception, possibly null.


getPropertyNames

List<String> getPropertyNames()
Returns the names of the properties of the exception, sorted alphabetically.


getProperty

Object getProperty(String name)
Returns a specific property of the exception by name.


getStackTrace

List<StackTraceElement> getStackTrace()
Returns the stack trace elements. Generally this is an empty list except for the deepest exception.



Copyright © 2003-2012 The Apache Software Foundation.