|
||||||||||
| 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
patterntesting.runtime.exception.NotFoundException
public class NotFoundException
If you did not find a result and want to avoid 'null" as return value you
can throw this exception here. Like IllegalArgumentException it is derived
from RuntimeException.
RuntimeException,
Serialized Form| Constructor Summary | |
|---|---|
NotFoundException(Object notFound)
Instantiates a new not found exception. |
|
NotFoundException(String msg)
Instantiates a new not found exception. |
|
NotFoundException(String msg,
Throwable t)
Instantiates a new not found exception. |
|
NotFoundException(Throwable t)
Instantiates a new not found exception. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 NotFoundException(Object notFound)
notFound - the object which was not foundpublic NotFoundException(String msg)
msg - the msgpublic NotFoundException(Throwable t)
t - the t
public NotFoundException(String msg,
Throwable t)
msg - the msgt - the t
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||