com.telelogic.cs.api
Class PartialModifyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.telelogic.cs.ChangeException
              extended by com.telelogic.cs.api.ModifyException
                  extended by com.telelogic.cs.api.PartialModifyException
All Implemented Interfaces:
java.io.Serializable

public class PartialModifyException
extends ModifyException

If a CR was partially modified, i.e., some, but not all, of its attributes were modified. Some may fail to be modified because of attribute specific security restrictions.

Since:
4.7 06
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.telelogic.cs.ChangeException
SCCS_ID
 
Constructor Summary
PartialModifyException(java.lang.String message, java.lang.String crid, java.util.List<java.lang.String> unmodifedAttributes)
           
 
Method Summary
 java.lang.String getCrid()
          The CR that was partially modified.
 java.util.List<java.lang.String> getFailedAttributes()
          The attributes that were not modified on the CR.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartialModifyException

public PartialModifyException(java.lang.String message,
                              java.lang.String crid,
                              java.util.List<java.lang.String> unmodifedAttributes)
Method Detail

getFailedAttributes

public java.util.List<java.lang.String> getFailedAttributes()
The attributes that were not modified on the CR.

Returns:
list of attributes that could not be modified.

getCrid

public java.lang.String getCrid()
The CR that was partially modified.

Returns:
ID of the CR that was partially modified.


© Copyright IBM Corporation 2000, 2009
US Government Users Restricted Rights--Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Notices