public class WeldException extends RuntimeException
| Constructor and Description |
|---|
WeldException(E key,
Object... args)
Creates a new exception with the given localized message key and optional
arguments for the message.
|
WeldException(E key,
Throwable throwable,
Object... args)
Creates a new exception with the given localized message key, the cause
for this exception and optional arguments for the message.
|
WeldException(List<Throwable> errors)
Creates a new exception based on a list of throwables.
|
WeldException(Throwable throwable)
Creates a new exception with the given cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalizedMessage() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WeldException(Throwable throwable)
throwable - The cause of the exceptionpublic WeldException(E key,
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,
Throwable throwable,
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(List<Throwable> errors)
errors - A list of throwables to use in the messagepublic String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic String getMessage()
getMessage in class ThrowableCopyright © 2013 Seam Framework. All Rights Reserved.