org.cementj.base
Class DataNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.cementj.base.ApplicationRuntimeException
                  extended by org.cementj.base.DataNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class DataNotFoundException
extends ApplicationRuntimeException

This exception is used mainly within Data Access Objects (DAOs) where data for a query or update isn't found. Often it's good to differentiate these types of errors from other types of SQLExceptions or system errors as it may be treated differently depending on context.

Copyright: Delta Vortex Technologies, 2002.

See Also:
Serialized Form

Constructor Summary
protected DataNotFoundException()
           
  DataNotFoundException(java.lang.String message)
           
  DataNotFoundException(java.lang.String message, java.lang.Throwable t)
           
 
Method Summary
 
Methods inherited from class org.cementj.base.ApplicationRuntimeException
getBaseThrowable, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataNotFoundException

protected DataNotFoundException()

DataNotFoundException

public DataNotFoundException(java.lang.String message)

DataNotFoundException

public DataNotFoundException(java.lang.String message,
                             java.lang.Throwable t)


Copyright © 2003 Delta Vortex Technologies, Inc. All Rights Reserved.