com.sapportals.wcm.repository

Class AbstractPropertyException

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.AbstractPropertyException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalPropertyNameException, PropertyMandatoryException, PropertyReadOnlyException, PropertyTypeLostException, PropertyTypeMismatchException, PropertyUnchangedException, PropertyValueTooBigException

public class AbstractPropertyException
extends ResourceException

Abstract base class for property exceptions.

Copyright (c) SAP AG 2001-2004

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
AbstractPropertyException(AbstractPropertyException newEx, IPropertyName propertyName)
          This constructor is used by the framework to use this exception as a wrapper for a new exception class of the repository manager API.
AbstractPropertyException(String msg, RID resourceID, IPropertyName propertyName)
          Constructs a new PropertyUnchangedException
AbstractPropertyException(String msg, URI resourceID, IPropertyName propertyName)
          Deprecated. as of NW04.
 
Method Summary
 IPropertyName getPropertyName()
          Returns the name of the property that caused the exception
 
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

AbstractPropertyException

public AbstractPropertyException(String msg,
                                 URI resourceID,
                                 IPropertyName propertyName)
Deprecated. as of NW04.


AbstractPropertyException

public AbstractPropertyException(String msg,
                                 RID resourceID,
                                 IPropertyName propertyName)
Constructs a new PropertyUnchangedException

Parameters:
msg - The message text
resourceID - The ID of the resource that caused the exception (optional)
propertyName - The name of the property that caused the exception (optional)

AbstractPropertyException

public AbstractPropertyException(AbstractPropertyException newEx,
                                 IPropertyName propertyName)
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.
Method Detail

getPropertyName

public IPropertyName getPropertyName()
Returns the name of the property that caused the exception

Returns:
the name of the property that caused the 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 2014 SAP AG Complete Copyright Notice