org.brains2b.data
Class CopyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.brains2b.data.DataException
              extended by org.brains2b.data.CopyException
All Implemented Interfaces:
java.io.Serializable

public class CopyException
extends DataException

Exception used when copying data from one data object to another.

If copying does not succeed in DataHelper.copyDataObject(Object, Object) this Exception will be thrown

Version:
0.20 [16-01-2008]
Author:
dennis@brains2b.nl
See Also:
DataHelper.copyDataObject(Object, Object), Serialized Form

Field Summary
 
Fields inherited from class org.brains2b.data.DataException
DELETE_FAILED, INSERT_FAILED, NO_PRIMARY_KEY, RECORD_CHANGED, RETRIEVE_FAILED, UPDATE_FAILED
 
Constructor Summary
CopyException()
          Constructor
CopyException(java.lang.String message)
          Constructor
 
Method Summary
 
Methods inherited from class org.brains2b.data.DataException
getErrorNo, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

CopyException

public CopyException()
Constructor


CopyException

public CopyException(java.lang.String message)
Constructor

Parameters:
message - String, the custom message for this Exception