public class WeldException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
WeldException(E key,
java.lang.Object... args)
Creates a new exception with the given localized message key and optional
arguments for the message.
|
WeldException(E key,
java.lang.Throwable throwable,
java.lang.Object... args)
Creates a new exception with the given localized message key, the cause
for this exception and optional arguments for the message.
|
WeldException(java.util.List<java.lang.Throwable> errors)
Creates a new exception based on a list of throwables.
|
WeldException(java.lang.Throwable throwable)
Creates a new exception with the given cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getMessage() |
public WeldException(java.lang.Throwable throwable)
throwable - The cause of the exceptionpublic WeldException(E key,
java.lang.Object... args)
E - The enumeration type for the message keyskey - The localized message to useargs - Optional arguments to insert into the messagepublic WeldException(E key,
java.lang.Throwable throwable,
java.lang.Object... args)
E - The enumeration type for the message keyskey - The localized message to usethrowable - The cause for this exceptionargs - Optional arguments to insert into the messagepublic WeldException(java.util.List<java.lang.Throwable> errors)
errors - A list of throwables to use in the messageCopyright © 2014 Seam Framework. All Rights Reserved.