|
|||||||||
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 atg.core.exception.ContainerException atg.commerce.invoice.InvoiceException atg.commerce.invoice.ItemWasModifiedException
public class ItemWasModifiedException
A subclass of InvoiceException representing a ConcurrentUpdateException in the repository. An ItemWasModifiedException will be thrown whenever an attempt is made to update an invoice repository item (of any type) that has already been updated by a different user or thread.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
ItemWasModifiedException()
Create an empty ItemWasModifiedException. |
|
ItemWasModifiedException(java.lang.String pRepositoryId)
Create an ItemWasModifiedException referring to a particular repository item. |
|
ItemWasModifiedException(java.lang.String pRepositoryId,
java.lang.Throwable pSourceException)
Create an ItemWasModifiedException referring to a particular repository item and source exception. |
Method Summary | |
---|---|
java.lang.String |
getRepositoryId()
Return the repository id of the item that was modified unexpectedly. |
void |
setRepositoryId(java.lang.String pRepositoryId)
Specify the repository id of the item that was modified unexpectedly. |
Methods inherited from class atg.core.exception.ContainerException |
---|
getMessageArguments, getSourceException, printStackTrace, printStackTrace, printStackTrace, printStackTrace, setMessageArguments, setSourceException, toString, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ItemWasModifiedException()
public ItemWasModifiedException(java.lang.String pRepositoryId)
public ItemWasModifiedException(java.lang.String pRepositoryId, java.lang.Throwable pSourceException)
Method Detail |
---|
public void setRepositoryId(java.lang.String pRepositoryId)
public java.lang.String getRepositoryId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |