|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.elasticpath.commons.exception.EpSystemException
com.elasticpath.commons.exception.DuplicateNameException
public class DuplicateNameException
This exception is thrown when an attempt is made to insert an object when the given name already exists but must be unique.
| Constructor Summary | |
|---|---|
DuplicateNameException(java.lang.String message)
Creates a new object with the given message. |
|
DuplicateNameException(java.lang.String message,
java.lang.Throwable cause)
Creates a new object using the given message and cause 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DuplicateNameException(java.lang.String message)
message - the reason
public DuplicateNameException(java.lang.String message,
java.lang.Throwable cause)
message - the reasoncause - the Throwable that caused this exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||