javax.ejb

Class DuplicateKeyException

Implemented Interfaces:
Serializable

public class DuplicateKeyException
extends CreateException

The main ejb context.
See Also:
Serialized Form

Constructor Summary

DuplicateKeyException()
DuplicateKeyException(String message)

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, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

DuplicateKeyException

public DuplicateKeyException()
Usages and Demos :

View More Examples of DuplicateKeyException()
   1:       ejbFindByPrimaryKey(new AccountPK(name));
   2:       throw new DuplicateKeyException();
   3:     } catch (ObjectNotFoundException e) {
   4:     }
   5:     _name = name;

View Full Code Here
   1:             p.pO();
   2:             p.pln("throw new DuplicateKeyException();");
   3:             p.pln();
   4:             p.pO();
   5:             p.pln("}");

View Full Code Here

DuplicateKeyException

public DuplicateKeyException(String message)
Usages and Demos :

View More Examples of DuplicateKeyException(String message)
   1:         } catch (AccountDAODupKeyException acd) {
   2:             throw new DuplicateKeyException(acd.getMessage());
   3:         } catch (AccountDAOAppException aca) {
   4:             throw new AccountAppException(aca.getMessage());
   5:         } catch (AccountDAOSysException acs) {

View Full Code Here
   1:         cmpLifecycleLogger.log(Logger.FINER, msg, ex);
   2:         throw new DuplicateKeyException(msg);
   3:     }
   4: 
   5:     public static void handleJDODuplicateObjectIdAsEJBException(

View Full Code Here