|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
be.erwinsmout.NotFoundException
public class NotFoundException
NotFoundExceptions are thrown in SIRA_PRISE to signal to the caller that some search request did not produce a result (or, put otherwise, that the result set produced is actually empty). It is cleaner method of dealing with "NotFound" than returning null references.
Constructor Summary | |
---|---|
NotFoundException()
Creates the exception without additional info |
|
NotFoundException(java.lang.String string)
Creates the Exception, setting a message argument. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NotFoundException(java.lang.String string)
string
- Some string that might be interesting to be accessible to the caller. The meaning of this String is defined by the particular method that throws the exception. E.g., it might represent the set of all valid command names, ...public NotFoundException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |