com.indexdata.torus2.exception
Class NotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.indexdata.torus2.exception.InternalIOException
              extended by com.indexdata.torus2.exception.NotFoundException
All Implemented Interfaces:
Serializable

public class NotFoundException
extends InternalIOException

So why this class? I find it way cleaner to percolate that from the lowest-level and then throw 404 in the container rather than checking for nulls on each level. I can be persuaded otherwise.

Author:
jakub
See Also:
Serialized Form

Constructor Summary
NotFoundException(String msg)
           
NotFoundException(String msg, Throwable cause)
           
 
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

NotFoundException

public NotFoundException(String msg,
                         Throwable cause)

NotFoundException

public NotFoundException(String msg)


Copyright © 2008-2013 Index Data. All Rights Reserved.