wt.conflict
Class ConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.WTException
wt.conflict.ConflictException
- All Implemented Interfaces:
- ConflictHolder, LocalizableMessage, Message, Serializable
- Direct Known Subclasses:
- ArchiveException, IXConflictException, MoveConflictException, UwgmConflictException
- public class ConflictException
- extends WTException
- implements ConflictHolder, Serializable
A WTException carrying conflict elements.
Supported API: false
Extendable: false
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class wt.util.WTException |
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toString |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
conflictElements
private ConflictElement[] conflictElements
ConflictException
public ConflictException(ConflictElement[] cElem)
- The constructor ConflictException would accept array of ConflictElement's.
Supported API: false
- Parameters:
cElem
-
getAllConflictingObjects
public Object[] getAllConflictingObjects()
- This will return all the objects associated with this exception. This
would be union of all objects contained in all the conflict elements.
Supported API: false
- Specified by:
getAllConflictingObjects
in interface ConflictHolder
- Returns:
- Object[]
getConflictElements
public ConflictElement[] getConflictElements()
- Gets the value of the attribute: conflictElements; Array of ConflictElement's.
Supported API: false
- Specified by:
getConflictElements
in interface ConflictHolder
- Returns:
- ConflictElement[]
setConflictElements
public void setConflictElements(ConflictElement[] a_ConflictElements)
throws WTPropertyVetoException
- Sets the value of the attribute: conflictElements; Array of ConflictElement's.
Supported API: false
- Specified by:
setConflictElements
in interface ConflictHolder
- Parameters:
a_ConflictElements
-
- Throws:
WTPropertyVetoException
getConflictMessages
public static LocalizableMessage[] getConflictMessages(ConflictElement[] cElems)
getAllConflictElements
public static ConflictElement[] getAllConflictElements(ConflictElement[] cElems)