org.openwms.core.integration.exception
Class DataNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openwms.core.integration.exception.DataException
                  extended by org.openwms.core.integration.exception.DataNotFoundException
All Implemented Interfaces:
Serializable

public class DataNotFoundException
extends DataException

A DataNotFoundException is thrown to indicate that data was expected but not found.

Since:
0.1
Version:
$Revision: 1540 $
Author:
Heiko Scherrer
See Also:
DataException, Serialized Form

Constructor Summary
DataNotFoundException(Serializable id)
          Create a new DataNotFoundException with the id of the expected entity.
DataNotFoundException(String message)
          Create a new DataNotFoundException with a message text.
DataNotFoundException(String message, Throwable cause)
          Create a new DataNotFoundException with a message text and the root exception.
 
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

DataNotFoundException

public DataNotFoundException(String message,
                             Throwable cause)
Create a new DataNotFoundException with a message text and the root exception.

Parameters:
message - Message text as String
cause - The root exception

DataNotFoundException

public DataNotFoundException(String message)
Create a new DataNotFoundException with a message text.

Parameters:
message - Message text as String

DataNotFoundException

public DataNotFoundException(Serializable id)
Create a new DataNotFoundException with the id of the expected entity.

Parameters:
id - Id of the expected entity


Copyright © 2005-2011 openwms.org. All Rights Reserved.