DuplicateObjectException Class

com.bea.netuix.application.exception
DuplicateObjectException Class

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.


Hierarchy
Object
  Throwable
    Exception
      NetuixException
        DuplicateObjectException
All Implemented Interfaces

Serializable

Constructor Summary

DuplicateObjectException()

Constructs a DuplicateObjectException with no specified detail message.
DuplicateObjectException(String s, Throwable cause)

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

Constructs a DuplicateObjectException with the specified detail message.
DuplicateObjectException(Throwable cause)

Constructs a DuplicateObjectException with the specified causal exception.
 

Method Summary

 
Methods from  java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

DuplicateObjectException

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

DuplicateObjectException

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

DuplicateObjectException

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

DuplicateObjectException

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