org.openwms.core.integration.exception
Class DataException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataNotFoundException, NoUniqueResultException

public class DataException
extends RuntimeException

A DataException is a general type of DAO exception.

Superclass of exceptions thrown in the persistence integration layer regarding data access errors.

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

Constructor Summary
DataException()
          Create a new DataException.
DataException(String message)
          Create a new DataException with a message text.
DataException(String message, Throwable cause)
          Create a new DataException with a message text and the root exception.
DataException(Throwable cause)
          Create a new DataException with 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

DataException

public DataException()
Create a new DataException.


DataException

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

Parameters:
message - Message text as String

DataException

public DataException(Throwable cause)
Create a new DataException with the root exception.

Parameters:
cause - The root exception

DataException

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

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


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