be.erwinsmout
Class NotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by be.erwinsmout.NotFoundException
All Implemented Interfaces:
java.io.Serializable

public class NotFoundException
extends java.lang.Exception

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.

Author:
Erwin Smout
See Also:
Serialized Form

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

NotFoundException

public NotFoundException(java.lang.String string)
Creates the Exception, setting a message argument.

Parameters:
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, ...

NotFoundException

public NotFoundException()
Creates the exception without additional info