|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.weld.exceptions.WeldException
public class WeldException
A general run-time exception used by the JSR-299 reference implementation Weld.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalizedMessage()
|
java.lang.String |
getMessage()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WeldException(java.lang.Throwable throwable)
throwable - The cause of the exception
public 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 message
public 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 message| Method Detail |
|---|
public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||