public class DefinitionException extends WeldException
| Constructor and Description |
|---|
DefinitionException(E key,
Object... args)
Creates a new exception with the given localized message key and optional
arguments for the message.
|
DefinitionException(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.
|
DefinitionException(List<Throwable> errors)
Creates a new exception based on a list of throwables.
|
DefinitionException(Throwable throwable)
Creates a new exception with the given cause.
|
getLocalizedMessage, getMessageaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DefinitionException(E key,
Object... args)
E - The enumeration type for the message keyskey - The localized message to useargs - Optional arguments to insert into the messagepublic DefinitionException(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 DefinitionException(Throwable throwable)
throwable - The cause of the exceptionpublic DefinitionException(List<Throwable> errors)
errors - A list of throwables to use in the messageCopyright © 2014 Seam Framework. All Rights Reserved.