org.caleigo.core.exception
Class DataServiceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.caleigo.core.exception.DataServiceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TransactionFailedException

public class DataServiceException
extends java.lang.RuntimeException

This is the root exception for for the IDataService.

Version:
1.00
Author:
Dennis Zikovic
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
DataServiceException(java.lang.String message)
          This is the default constructor.
DataServiceException(java.lang.String message, java.lang.Exception e)
          Use this constructor when the exception is throw as a conversion of another message.
DataServiceException(java.lang.String message, java.lang.Exception e, java.lang.String description)
          Use this constructor when the exception is throw as a conversion of another message and you want to add an extended description.
 
Method Summary
 java.lang.String getDescription()
           
 void setDescription(java.lang.String description)
           
 
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

DataServiceException

public DataServiceException(java.lang.String message)
This is the default constructor.


DataServiceException

public DataServiceException(java.lang.String message,
                            java.lang.Exception e)
Use this constructor when the exception is throw as a conversion of another message.


DataServiceException

public DataServiceException(java.lang.String message,
                            java.lang.Exception e,
                            java.lang.String description)
Use this constructor when the exception is throw as a conversion of another message and you want to add an extended description.

Method Detail

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)


Copyright © 2005 Caleigo. All Rights Reserved.