com.sapportals.wcm.repository

Class SetPropertiesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sapportals.wcm.WcmException
              extended by com.sapportals.wcm.util.content.ContentException
                  extended by com.sapportals.wcm.repository.ResourceException
                      extended by com.sapportals.wcm.repository.SetPropertiesException
All Implemented Interfaces:
Serializable

public class SetPropertiesException
extends ResourceException

This exception indicates errors during a IResource.setProperties(List) call. If some or all properties could not be set for some reason, getPropertyChangeResults() returns the property names and the exceptions.

Copyright SAP AG 2001-2004

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
SetPropertiesException(PropertyChangeResultCollection propChangeResults)
          Constructs a new exception.
SetPropertiesException(String msg, RID resourceID, PropertyChangeResultCollection propChangeResults)
          Constructs a new exception
SetPropertiesException(String msg, RID resourceID, PropertyChangeResultCollection propChangeResults, Exception rootCause)
          Constructs a new exception
SetPropertiesException(String msg, URI resourceID, PropertyChangeResultCollection propChangeResults)
          Deprecated. as of NW04.
 
Method Summary
 PropertyChangeResultCollection getPropertyChangeResults()
          Returns the contained property change results
 void printStackTrace()
           
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter s)
           
 
Methods inherited from class com.sapportals.wcm.repository.ResourceException
fillInStackTrace, getLocalizedMessage, getMessage, getNextResourceException, getResourceID, getRID, setNextResourceException, toString
 
Methods inherited from class com.sapportals.wcm.WcmException
getContainedException, isLogged, setContainedException
 
Methods inherited from class java.lang.Throwable
getCause, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetPropertiesException

public SetPropertiesException(String msg,
                              URI resourceID,
                              PropertyChangeResultCollection propChangeResults)
Deprecated. as of NW04.


SetPropertiesException

public SetPropertiesException(String msg,
                              RID resourceID,
                              PropertyChangeResultCollection propChangeResults)
Constructs a new exception

Parameters:
msg - The messsage text
resourceID - The ID of the resource this exception belongs to

SetPropertiesException

public SetPropertiesException(String msg,
                              RID resourceID,
                              PropertyChangeResultCollection propChangeResults,
                              Exception rootCause)
Constructs a new exception

Parameters:
msg - The messsage text
resourceID - The ID of the resource this exception belongs to

SetPropertiesException

public SetPropertiesException(PropertyChangeResultCollection propChangeResults)
Constructs a new exception.

Method Detail

getPropertyChangeResults

public PropertyChangeResultCollection getPropertyChangeResults()
Returns the contained property change results

Returns:
the contained property change results

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class ResourceException

printStackTrace

public void printStackTrace(PrintStream s)
Overrides:
printStackTrace in class ResourceException

printStackTrace

public void printStackTrace(PrintWriter s)
Overrides:
printStackTrace in class ResourceException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice