public class WeldException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
WeldException(java.util.List<java.lang.Throwable> errors)
Creates a new exception based on a list of throwables.
|
WeldException(java.lang.String message)
Creates a new exception with the given localized message.
|
WeldException(java.lang.String message,
java.lang.Throwable throwable)
Creates a new exception with the given localized message and the cause for this exception.
|
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(java.util.List<java.lang.Throwable> errors)
errors - A list of throwables to use in the messagepublic WeldException(java.lang.String message)
message - public WeldException(java.lang.String message,
java.lang.Throwable throwable)
message - throwable - Copyright © 2015. All Rights Reserved.