com.ptc.windchill.uwgm.common.conflict
Class UwgmConflictException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bywt.util.WTException
              extended bywt.conflict.ConflictException
                  extended bycom.ptc.windchill.uwgm.common.conflict.UwgmConflictException
All Implemented Interfaces:
ConflictHolder, LocalizableMessage, Message, Serializable

public class UwgmConflictException
extends ConflictException

Exception to carry ConflictElements

For consistency with UwgmErrorException and futher enhancements

See Also:
Serialized Form

Field Summary
 
Fields inherited from class wt.conflict.ConflictException
 
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
UwgmConflictException(Collection conflictElements)
          constructs UwgmConflictException for a Collection of ConflictElements
UwgmConflictException(ConflictElement[] conflictElements)
          constructs UwgmConflictException for an array of ConflictElements
UwgmConflictException(ConflictException conflictException)
          copy constructor from ConflictException
 
Method Summary
 void addConflictElement(ConflictElement conflictElement)
          adds a ConflictElement
 
Methods inherited from class wt.conflict.ConflictException
getAllConflictElements, getAllConflictingObjects, getConflictElements, getConflictMessages, setConflictElements
 
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
 

Constructor Detail

UwgmConflictException

public UwgmConflictException(ConflictElement[] conflictElements)
constructs UwgmConflictException for an array of ConflictElements

Parameters:
conflictElements - ConflictElement[]

UwgmConflictException

public UwgmConflictException(Collection conflictElements)
constructs UwgmConflictException for a Collection of ConflictElements

Parameters:
conflictElements - ConflictElement[]

UwgmConflictException

public UwgmConflictException(ConflictException conflictException)
copy constructor from ConflictException

Parameters:
conflictException - ConflictException
Method Detail

addConflictElement

public void addConflictElement(ConflictElement conflictElement)
                        throws WTPropertyVetoException
adds a ConflictElement

Parameters:
conflictElement - ConflictElement
Throws:
WTPropertyVetoException