com.basecmp.core.persistence.impl
Class UniqueKeyExistsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.basecmp.core.persistence.impl.UniqueKeyExistsException
All Implemented Interfaces:
java.io.Serializable

public class UniqueKeyExistsException
extends java.lang.RuntimeException

Thrown by persistence-layer whenever one tries to write an asset to db with an alternate key the exists already. Created on 19.07.2004

See Also:
Serialized Form
Author:
Wolfgang Schröder

Constructor Summary
UniqueKeyExistsException(java.lang.String msg, boolean originIsAlternateKey, boolean occuredOnInsert)
           
 
Method Summary
 boolean isExceptionOccuredOnInsert()
           
 boolean isExceptionOriginAlternateKey()
           
 
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

UniqueKeyExistsException

public UniqueKeyExistsException(java.lang.String msg,
                                boolean originIsAlternateKey,
                                boolean occuredOnInsert)
Method Detail

isExceptionOccuredOnInsert

public boolean isExceptionOccuredOnInsert()

isExceptionOriginAlternateKey

public boolean isExceptionOriginAlternateKey()


Copyright © 2004 by basecmp® - Professional Web Solutions