|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.bea.netuix.application.exception.NetuixException com.bea.netuix.application.exception.DuplicateObjectException
public class DuplicateObjectException
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.
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 |
---|
public DuplicateObjectException()
DuplicateObjectException
with no specified detail message.
public DuplicateObjectException(String s)
DuplicateObjectException
with the specified detail message.
s
- The detail messagepublic DuplicateObjectException(String s, Throwable cause)
DuplicateObjectException
with the specified detail message and causal exception.
s
- The detail messagecause
- The exception that caused this exception to be thrownpublic DuplicateObjectException(Throwable cause)
DuplicateObjectException
with the specified causal exception.
cause
- The exception that caused this exception to be thrown
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |