© 2003 BEA Systems, Inc.

com.bea.netuix.application.exception
Class DuplicateObjectException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.bea.netuix.application.exception.NetuixException
                    |
                    +--com.bea.netuix.application.exception.DuplicateObjectException
All Implemented Interfaces:
Serializable

public class DuplicateObjectException
extends NetuixException

This exception gets 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 an Exception with no specified detail message.
DuplicateObjectException(String s)
          Constructs an Exception with the specified detail message.
DuplicateObjectException(String s, Throwable cause)
          Constructs an Exception with the specified detail message and causal exception.
DuplicateObjectException(Throwable cause)
          Constructs an Exception with the specified causal exception.
 
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 an Exception with no specified detail message.


DuplicateObjectException

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

Parameters:
s - The detail message

DuplicateObjectException

public DuplicateObjectException(String s,
                                Throwable cause)
Constructs an Exception 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 an Exception with the specified causal exception.

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

© 2003 BEA Systems, Inc.

Copyright © 2003 BEA Systems, Inc. All Rights Reserved