javax.rad.persist
Class DataSourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.rad.model.ModelException
              extended by javax.rad.persist.DataSourceException
All Implemented Interfaces:
Serializable

public class DataSourceException
extends ModelException

The DataSourceException is used to throw storage depending Exception's.

See Also:
Serialized Form

Constructor Summary
DataSourceException(String pErrorMessage)
          Constructs the DataSourceException with the specified error message.
DataSourceException(String pErrorMessage, Throwable pMainCause)
          Constructs the DataSourceException with the specified error message and main 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

DataSourceException

public DataSourceException(String pErrorMessage)
Constructs the DataSourceException with the specified error message.

Parameters:
pErrorMessage - the error message of the Exception

DataSourceException

public DataSourceException(String pErrorMessage,
                           Throwable pMainCause)
Constructs the DataSourceException with the specified error message and main cause.

Parameters:
pErrorMessage - the error message of the Exception
pMainCause - The Exception, which followed to this Exception.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.