|
||||||||||
| 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
org.jboss.weld.exceptions.NullInstanceException
public class NullInstanceException
This exception occurs in cases where an object instance was expected, but the reference was null. A typical example is with a producer method that is not allowed to return null.
| Constructor Summary | |
|---|---|
NullInstanceException(E key,
java.lang.Object... args)
Creates a new exception with the given localized message key and optional arguments for the message. |
|
| Method Summary |
|---|
| Methods inherited from class org.jboss.weld.exceptions.WeldException |
|---|
getLocalizedMessage, 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 NullInstanceException(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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||