Arch4J 1.1

org.arch4j.businessdata
Class DataNotFoundException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.arch4j.core.BaseApplicationException
                    |
                    +--org.arch4j.businessdata.DataNotFoundException
All Implemented Interfaces:
BaseException, Serializable

public class DataNotFoundException
extends BaseApplicationException

This exception is thrown by the from the data service layer to indicate that it was unable to find the expected business data. The most common scenario is a failed lookup of a single row based on a specified primary key.

Version:
1.0
Author:
David Colwell
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.arch4j.core.BaseApplicationException
nestedException
 
Constructor Summary
DataNotFoundException()
          Constructs a DataNotFoundException with no specified detail message or nested exception.
DataNotFoundException(String message)
          Constructs a DataNotFoundException with the specified detail message.
DataNotFoundException(String message, Throwable exception)
          Constructs a DataNotFoundException with the specified detail message and nested exception.
DataNotFoundException(Throwable exception)
          Constructs a DataNotFoundException with the specified nested exception.
 
Methods inherited from class org.arch4j.core.BaseApplicationException
getMessage, getNestedException, getStackTraceString, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataNotFoundException

public DataNotFoundException()
Constructs a DataNotFoundException with no specified detail message or nested exception.


DataNotFoundException

public DataNotFoundException(String message)
Constructs a DataNotFoundException with the specified detail message.

Parameters:
message - The detailed message.

DataNotFoundException

public DataNotFoundException(Throwable exception)
Constructs a DataNotFoundException with the specified nested exception.

Parameters:
exception - The nested exception.

DataNotFoundException

public DataNotFoundException(String message,
                             Throwable exception)
Constructs a DataNotFoundException with the specified detail message and nested exception.

Parameters:
message - The detailed message.
exception - The nested exception.

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.