com.sapportals.wcm.repository

Class InvalidUriException

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

public class InvalidUriException
extends ResourceException

An invalid URI was used. The framework throws this exception in these cases (e.g. in the IResourceFactory.getResource() method):
- null
- empty string
- does not start with a slash
- contains a back-slash
- contains the sub-string "//"
- unknown repository name (The first part of the RID path)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
InvalidUriException(String msg)
          Constructs a new exception
InvalidUriException(String msg, RID invalidRID)
          Constructs a new exception
 
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

InvalidUriException

public InvalidUriException(String msg)
Constructs a new exception

Parameters:
msg - The message text

InvalidUriException

public InvalidUriException(String msg,
                           RID invalidRID)
Constructs a new exception

Parameters:
msg - The message text
invalidRID - TBD: Description of the incoming method parameter
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