com.sapportals.wcm.repository

Class PropertyNameTooLongException

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
                          extended by com.sapportals.wcm.repository.IllegalPropertyNameException
                              extended by com.sapportals.wcm.repository.PropertyNameTooLongException
All Implemented Interfaces:
IName, Serializable

public class PropertyNameTooLongException
extends IllegalPropertyNameException

Raised when a property name was too long.

Copyright (c) SAP AG 2002

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
PropertyNameTooLongException(PropertyNameTooLongException newEx, IPropertyName propertyName, String namespace, String name, int namespaceMax, int nameMax)
          This constructor is used by the framework to use this exception as a wrapper for a new exception class of the repository manager API.
PropertyNameTooLongException(String message, RID rid, String namespace, String name, int namespaceMax, int nameMax)
           
 
Method Summary
 int getNameMax()
           
 int getNamespaceMax()
           
 
Methods inherited from class com.sapportals.wcm.repository.IllegalPropertyNameException
getName, getNamespace, getNamespaceOrNull
 
Methods inherited from class com.sapportals.wcm.repository.AbstractPropertyException
getPropertyName
 
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

PropertyNameTooLongException

public PropertyNameTooLongException(String message,
                                    RID rid,
                                    String namespace,
                                    String name,
                                    int namespaceMax,
                                    int nameMax)

PropertyNameTooLongException

public PropertyNameTooLongException(PropertyNameTooLongException newEx,
                                    IPropertyName propertyName,
                                    String namespace,
                                    String name,
                                    int namespaceMax,
                                    int nameMax)
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

getNameMax

public int getNameMax()
Returns:
maximum length for name (or 0 when unknown)

getNamespaceMax

public int getNamespaceMax()
Returns:
maximum length for namespace name (or 0 when unknown)
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