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
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 |
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.