DuplicateKeyException (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.ejb Class DuplicateKeyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.ejb.CreateException
              extended by javax.ejb.DuplicateKeyException
所有已实现的接口:
Serializable

public class DuplicateKeyException
extends CreateException

The DuplicateKeyException exception is thrown if an entity EJB object cannot be created because an object with the same key already exists. This exception is thrown by the create methods defined in an entity Bean's home interface.

另请参见:
Serialized Form

构造器摘要
DuplicateKeyException()
          Constructs a DuplicateKeyException with no detail message.
DuplicateKeyException(String message)
          Constructs a DuplicateKeyException with the specified detail message.
 
方法摘要
 
类方法继承 java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造器详细信息

DuplicateKeyException

public DuplicateKeyException()
Constructs a DuplicateKeyException with no detail message.


DuplicateKeyException

public DuplicateKeyException(String message)
Constructs a DuplicateKeyException with the specified detail message.


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.