com.sapportals.wcm.repository.service

Class ServiceNotAvailableException

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.service.ServiceNotAvailableException
All Implemented Interfaces:
Serializable

public class ServiceNotAvailableException
extends ResourceException

Indicates that a repository service will not be available at one or more repositories.

Copyright 2004 SAP AG

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
ServiceNotAvailableException(List mgrIdList, List messages)
          Constructs a new exception
ServiceNotAvailableException(String msg)
          Constructs a new exception
 
Method Summary
 List getMessages()
          Returns the list of error messages - one for each repository.
 List getRepositoryManagerIDs()
          Returns the identifiers of repositories for which the service will not be available.
 
Methods inherited from class com.sapportals.wcm.repository.ResourceException
fillInStackTrace, getLocalizedMessage, getMessage, getNextResourceException, getResourceID, getRID, printStackTrace, printStackTrace, printStackTrace, 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

ServiceNotAvailableException

public ServiceNotAvailableException(List mgrIdList,
                                    List messages)
Constructs a new exception

Parameters:
mgrIdList - a list of repository manager identifiers (String).
messages - The reasons why the repositries will not be available - one per repository ID contained in the list of the first parameter.

ServiceNotAvailableException

public ServiceNotAvailableException(String msg)
Constructs a new exception

Parameters:
msg - The reason why the repository service will not be avialable
Method Detail

getRepositoryManagerIDs

public List getRepositoryManagerIDs()
Returns the identifiers of repositories for which the service will not be available.

Returns:
repositoryManagerIDs

getMessages

public List getMessages()
Returns the list of error messages - one for each repository.

Returns:
messages
Access Rights

This class can be accessed from:


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


Copyright 2011 SAP AG Complete Copyright Notice