wt.conflict
Class ConflictException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bywt.util.WTException
              extended bywt.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

Field Summary
private static String CLASSNAME
           
private  ConflictElement[] conflictElements
           
private static String RESOURCE
           
 
Fields inherited from class wt.util.WTException
GETMESSAGE_LINE_SEPARATOR, LINE_SEPARATOR, SPACE_SEPARATOR, TOSTRING_LINE_SEPARATOR
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Fields inherited from interface wt.conflict.ConflictHolder
CONFLICT_ELEMENTS
 
Constructor Summary
ConflictException(ConflictElement[] cElem)
          The constructor ConflictException would accept array of ConflictElement's.
 
Method Summary
static ConflictElement[] getAllConflictElements(ConflictElement[] cElems)
           
 Object[] getAllConflictingObjects()
          This will return all the objects associated with this exception.
 ConflictElement[] getConflictElements()
          Gets the value of the attribute: conflictElements; Array of ConflictElement's.
static LocalizableMessage[] getConflictMessages(ConflictElement[] cElems)
           
 void setConflictElements(ConflictElement[] a_ConflictElements)
          Sets the value of the attribute: conflictElements; Array of ConflictElement's.
 
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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

conflictElements

private ConflictElement[] conflictElements
Constructor Detail

ConflictException

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

Supported API: false

Parameters:
cElem -
Method Detail

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)