com.bea.netuix.application.exception
Class DuplicateObjectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bea.netuix.application.exception.NetuixException
              extended by com.bea.netuix.application.exception.DuplicateObjectException
All Implemented Interfaces
Serializable
Direct Known Subclasses:
DuplicateDotFileException

public class DuplicateObjectException
extends NetuixException

This exception is thrown when trying to create an object in the database and a unique key constraint is violated. Common example is inserting a portlet with the same definition label as another portlet.

See Also
Serialized Form

Constructor Summary
DuplicateObjectException()
          Constructs a DuplicateObjectException with no specified detail message.
DuplicateObjectException(String s)
          Constructs a DuplicateObjectException with the specified detail message.
DuplicateObjectException(String s, Throwable cause)
          Constructs a DuplicateObjectException with the specified detail message and causal exception.
DuplicateObjectException(Throwable cause)
          Constructs a DuplicateObjectException with the specified causal exception.
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateObjectException

public DuplicateObjectException()
Constructs a DuplicateObjectException with no specified detail message.


DuplicateObjectException

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

Parameters
s - The detail message

DuplicateObjectException

public DuplicateObjectException(String s,
                                Throwable cause)
Constructs a DuplicateObjectException with the specified detail message and causal exception.

Parameters
s - The detail message
cause - The exception that caused this exception to be thrown

DuplicateObjectException

public DuplicateObjectException(Throwable cause)
Constructs a DuplicateObjectException with the specified causal exception.

Parameters
cause - The exception that caused this exception to be thrown


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.