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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAsString()
Generates the localized message for the exception.
-
-
-
Method Detail
-
getAsString
String getAsString()
Generates the localized message for the exception.- Returns:
- exception message as a string
-
-