org.jboss.weld.exceptions
Class WeldExceptionListMessage

java.lang.Object
  extended by 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
WeldExceptionListMessage(List<Throwable> throwables)
           
 
Method Summary
 String getAsString()
          Generates the localized message for the exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeldExceptionListMessage

public WeldExceptionListMessage(List<Throwable> throwables)
Method Detail

getAsString

public String getAsString()
Description copied from interface: WeldExceptionMessage
Generates the localized message for the exception.

Specified by:
getAsString in interface WeldExceptionMessage
Returns:
exception message as a string


Copyright © 2013 Seam Framework. All Rights Reserved.