org.jaffa.persistence.exceptions
Class UpdatePrimaryKeyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jaffa.exceptions.CustomException
              extended byorg.jaffa.exceptions.FrameworkException
                  extended byorg.jaffa.persistence.exceptions.UOWException
                      extended byorg.jaffa.persistence.exceptions.UpdatePrimaryKeyException
All Implemented Interfaces:
Serializable

public class UpdatePrimaryKeyException
extends UOWException

This exception is thrown if a field, which is part of the primary key, is updated for a domain object retrieved from the database.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jaffa.exceptions.CustomException
m_arguments
 
Constructor Summary
UpdatePrimaryKeyException()
          Creates an exception with the errorCode.
UpdatePrimaryKeyException(Object[] arguments)
          Creates an exception with the errorCode and a cause.
UpdatePrimaryKeyException(Object[] arguments, Throwable cause)
          Creates an exception with the errorCode and a cause.
 
Methods inherited from class org.jaffa.exceptions.CustomException
getArguments, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

UpdatePrimaryKeyException

public UpdatePrimaryKeyException()
Creates an exception with the errorCode.


UpdatePrimaryKeyException

public UpdatePrimaryKeyException(Object[] arguments)
Creates an exception with the errorCode and a cause.

Parameters:
arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.

UpdatePrimaryKeyException

public UpdatePrimaryKeyException(Object[] arguments,
                                 Throwable cause)
Creates an exception with the errorCode and a cause.

Parameters:
arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.
cause - the cause.


Copyright © 2002-2004 JAFFA Project.