Package org.jboss.weld.exceptions
Class WeldExceptionListMessage
- java.lang.Object
-
- org.jboss.weld.exceptions.WeldExceptionListMessage
-
- All Implemented Interfaces:
Serializable
,WeldExceptionMessage
public class WeldExceptionListMessage extends Object implements WeldExceptionMessage, Serializable
Exception message that produces a list of exceptions and their stack traces for logging. This is typically used in lifecycle events which accumulate exceptions across observers.- Author:
- David Allen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WeldExceptionListMessage(List<? extends Throwable> throwables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAsString()
Generates the localized message for the exception.
-
-
-
Method Detail
-
getAsString
public String getAsString()
Description copied from interface:WeldExceptionMessage
Generates the localized message for the exception.- Specified by:
getAsString
in interfaceWeldExceptionMessage
- Returns:
- exception message as a string
-
-