|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
ch.elca.el4j.core.exceptions.BaseException
ch.elca.el4j.core.exceptions.ObjectModificationException
public class ObjectModificationException
This exception will be thrown when the optimistic locking detects a modification.
OptimisticLockingFailureException,
Serialized Form| Field Summary | |
|---|---|
static String |
EXCEPTION_MESSAGE_OBJECTMODIFICATION
Deprecated. Message, which has to be formated. |
protected String |
m_objectName
Deprecated. Name of the object, where the exception occured. |
| Fields inherited from class ch.elca.el4j.core.exceptions.BaseException |
|---|
m_message, m_messageFormatParameters |
| Constructor Summary | |
|---|---|
ObjectModificationException(String objectName)
Deprecated. Constructor. |
|
ObjectModificationException(String objectName,
Throwable cause)
Deprecated. Constructor. |
|
| Method Summary | |
|---|---|
Object[] |
getFormatParameters()
Deprecated. Gets parameters defined for the message. |
String |
getObjectName()
Deprecated. |
| Methods inherited from class ch.elca.el4j.core.exceptions.BaseException |
|---|
getFormatString, getMessage, setFormatString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String EXCEPTION_MESSAGE_OBJECTMODIFICATION
protected String m_objectName
| Constructor Detail |
|---|
public ObjectModificationException(String objectName)
objectName - Is the name of the object, where the exception occured.
public ObjectModificationException(String objectName,
Throwable cause)
objectName - Is the name of the object, where the exception occured.cause - Is the cause for this exception.| Method Detail |
|---|
public String getObjectName()
public Object[] getFormatParameters()
getFormatParameters in class BaseExceptionMessageFormat
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||