com.sapportals.wcm.repository.variants

Class InvalidVariantContextException

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.variants.InvalidVariantContextException
All Implemented Interfaces:
Serializable

public class InvalidVariantContextException
extends ResourceException

Thrown by a variant-enabled repository if the variant context (IResourceContext.getVariantContext()) is missing or invalid. A context could be considered invalid by the repository if it contains properties with the wrong type or invalid values.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
InvalidVariantContextException(InvalidVariantContextException newEx)
          This constructor is used by the framework to use this exception as a wrapper for a new exception class of the repository manager API.
InvalidVariantContextException(com.sapportals.wcm.util.uri.RID rid)
           
 
Method Summary
 
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

InvalidVariantContextException

public InvalidVariantContextException(com.sapportals.wcm.util.uri.RID rid)

InvalidVariantContextException

public InvalidVariantContextException(InvalidVariantContextException newEx)
This constructor is used by the framework to use this exception as a wrapper for a new exception class of the repository manager API.

Parameters:
newEx - The new exception.
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 2011 SAP AG Complete Copyright Notice