com.sapportals.wcm.repository

Class SetPropertiesException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sapportals.wcm.WcmException
              extended bycom.sapportals.wcm.util.content.ContentException
                  extended bycom.sapportals.wcm.repository.ResourceException
                      extended bycom.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


Copyright 2006 SAP AG Complete Copyright Notice