Package org.jboss.weld.exceptions
Interface WeldExceptionMessage
- All Known Implementing Classes:
WeldExceptionListMessage,WeldExceptionStringMessage
public interface WeldExceptionMessage
Interface for all exception messages in Weld. This replaces the simple
String used by default in JVM exceptions and allows more complex forms
of messages.
- Author:
- David Allen
-
Method Summary
Modifier and TypeMethodDescriptionGenerates the localized message for the exception.
-
Method Details
-
getAsString
String getAsString()Generates the localized message for the exception.- Returns:
- exception message as a string
-