wt.vc.wip
Class WorkInProgressException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bywt.util.WTException
              extended bywt.vc.wip.WorkInProgressException
All Implemented Interfaces:
ConflictHolder, LocalizableMessage, Message, Serializable
Direct Known Subclasses:
NonLatestCheckoutException, ObjectsAlreadyCheckedOutException

public class WorkInProgressException
extends WTException
implements ConflictHolder, Serializable

Provides an abstraction of an abnormal occurrence or error in the usage or processing of the WIP service. Exceptions can be localized through a given resource bundle, and other exceptions can be nested within an WorkInProgressException.

Supported API: true

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
WorkInProgressException()
          Constructs a new exception.
WorkInProgressException(ConflictElement[] cElem)
          Constructs a new exception carrying conflict elements.
WorkInProgressException(Exception e)
          Constructs a new exception with a nested exception.
WorkInProgressException(Exception e, String s)
          Constructs a new exception a nested exception and a string.
WorkInProgressException(Exception e, String rb, String key, Object[] params)
          Constructs a new exception with a nested exception from a resource bundle, its key, and an array of objects for insertion into the keyed resource bundle's message.
WorkInProgressException(String s)
          Constructs a new exception with a string.
WorkInProgressException(String rb, String key, Object[] params)
          Constructs a new exception from a resource bundle, its key, and an array of objects for insertion into the keyed resource bundle's message.
WorkInProgressException(String rb, String key, Object[] params, Object[] additionalMessages)
          Constructs a new exception with a nested exception from a resource bundle, its key, and an array of objects for insertion into the keyed resource bundle's message.
WorkInProgressException(WTMessage message)
          Constructs a new exception with a nested exception from a resource bundle, its key, and an array of objects for insertion into the keyed resource bundle's message.
 
Method Summary
 Object[] getAllConflictingObjects()
          

Supported API: false
 ConflictElement[] getConflictElements()
          Gets the value of the attribute: conflictElements; Array of ConflictElement's.
 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

WorkInProgressException

public WorkInProgressException()
Constructs a new exception.

Supported API: false


WorkInProgressException

public WorkInProgressException(String s)
Constructs a new exception with a string.

Supported API: false

Parameters:
s -

WorkInProgressException

public WorkInProgressException(String rb,
                               String key,
                               Object[] params)
Constructs a new exception from a resource bundle, its key, and an array of objects for insertion into the keyed resource bundle's message.

Supported API: false

Parameters:
rb -
key -
params -

WorkInProgressException

public WorkInProgressException(Exception e)
Constructs a new exception with a nested exception.

Supported API: false

Parameters:
e -

WorkInProgressException

public WorkInProgressException(Exception e,
                               String s)
Constructs a new exception a nested exception and a string.

Supported API: false

Parameters:
e -
s -

WorkInProgressException

public WorkInProgressException(Exception e,
                               String rb,
                               String key,
                               Object[] params)
Constructs a new exception with a nested exception from a resource bundle, its key, and an array of objects for insertion into the keyed resource bundle's message.

Supported API: false

Parameters:
e -
rb -
key -
params -

WorkInProgressException

public WorkInProgressException(String rb,
                               String key,
                               Object[] params,
                               Object[] additionalMessages)
Constructs a new exception with a nested exception from a resource bundle, its key, and an array of objects for insertion into the keyed resource bundle's message.

Supported API: false

Parameters:
rb -
key -
params -
additionalMessages -

WorkInProgressException

public WorkInProgressException(WTMessage message)
Constructs a new exception with a nested exception from a resource bundle, its key, and an array of objects for insertion into the keyed resource bundle's message.

Supported API: false

Parameters:
message -

WorkInProgressException

public WorkInProgressException(ConflictElement[] cElem)
Constructs a new exception carrying conflict elements.

Supported API: false

Parameters:
cElem -
Method Detail

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

getAllConflictingObjects

public Object[] getAllConflictingObjects()


Supported API: false

Specified by:
getAllConflictingObjects in interface ConflictHolder
Returns:
Object []