Package wt.conflict

Class ConflictException

All Implemented Interfaces:
Serializable, wt.conflict.ConflictHolder, LocalizableMessage, Message

public class ConflictException extends WTException implements wt.conflict.ConflictHolder, Serializable
A WTException carrying conflict elements.

Supported API: true

Extendable: true
See Also:
  • Constructor Details

    • ConflictException

      public ConflictException(ConflictElement[] cElem)
      The constructor ConflictException would accept array of ConflictElement's.

      Supported API: true
      Parameters:
      cElem -
  • Method Details

    • 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: true
      Specified by:
      getAllConflictingObjects in interface wt.conflict.ConflictHolder
      Returns:
      Object[]
    • getConflictElements

      public ConflictElement[] getConflictElements()
      Gets the value of the attribute: conflictElements; Array of ConflictElement's.

      Supported API: true
      Specified by:
      getConflictElements in interface wt.conflict.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: true
      Specified by:
      setConflictElements in interface wt.conflict.ConflictHolder
      Parameters:
      a_ConflictElements -
      Throws:
      WTPropertyVetoException