com.sap.netweaver.bc.rf.common.property

Class PropertyNameTooLongException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sap.exception.BaseException
              extended by com.sap.netweaver.bc.rf.util.exception.BaseException
                  extended by com.sap.netweaver.bc.rf.common.exception.RepositoryException
                      extended by com.sap.netweaver.bc.rf.common.exception.ResourceException
                          extended by com.sap.netweaver.bc.rf.common.property.AbstractPropertyException
                              extended by com.sap.netweaver.bc.rf.common.property.PropertyNameTooLongException
All Implemented Interfaces:
com.sap.exception.IBaseException, Serializable

public class PropertyNameTooLongException
extends AbstractPropertyException

Class implementing exception raised when a property value is out of bounds.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.sap.exception.IBaseException
audit, defaultLocale
 
Constructor Summary
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceAccessor resourceAccessor, String key)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceAccessor resourceAccessor, String key, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceAccessor resourceAccessor, String key, Object[] args)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceAccessor resourceAccessor, String key, Object[] args, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceAccessor resourceAccessor, String key, Object[] args, Throwable rootCause)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceAccessor resourceAccessor, String key, Object[] args, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceAccessor resourceAccessor, String key, Throwable rootCause)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceAccessor resourceAccessor, String key, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceMessage message)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceMessage message, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceMessage message, Throwable rootCause)
          Construct object of class PropertyNameTooLongException.
protected PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, ResourceMessage message, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, String message)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, String message, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, String message, Object[] args)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, String message, Object[] args, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, String message, Object[] args, Throwable rootCause)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, String message, Object[] args, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, String message, Throwable rootCause)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, String message, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, Throwable rootCause)
          Construct object of class PropertyNameTooLongException.
  PropertyNameTooLongException(IRid rid, IPropertyName propertyName, int namespaceMaxLength, int localNameMaxLength, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class PropertyNameTooLongException.
 
Method Summary
 long getLocalNameMaxLength()
          Get local name length constraint.
 long getNamespaceMaxLength()
          Get namespace length constraint.
 
Methods inherited from class com.sap.netweaver.bc.rf.common.property.AbstractPropertyException
getPropertyName
 
Methods inherited from class com.sap.netweaver.bc.rf.common.exception.ResourceException
getRID
 
Methods inherited from class com.sap.exception.BaseException
finallyLocalize, finallyLocalize, finallyLocalize, finallyLocalize, getCause, getLocalizableMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLogCategory, getLogLocation, getLogSeverity, getMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedStackTraceString, getStackTraceString, getSystemStackTraceString, initCause, log, printStackTrace, printStackTrace, printStackTrace, restoreLogSettings, setLogSettings, trace, trace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    Throwable rootCause)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
rootCause - throwable object which caused this exception

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    Throwable rootCause,
                                    boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    String message)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    String message,
                                    Object[] args)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message
args - message arguments inserted by MessageFormat means

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    String message,
                                    Throwable rootCause)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message
rootCause - throwable object which caused this exception

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    String message,
                                    Object[] args,
                                    Throwable rootCause)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    String message,
                                    boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    String message,
                                    Object[] args,
                                    boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message
args - message arguments inserted by MessageFormat means
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    String message,
                                    Throwable rootCause,
                                    boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

public PropertyNameTooLongException(IRid rid,
                                    IPropertyName propertyName,
                                    int namespaceMaxLength,
                                    int localNameMaxLength,
                                    String message,
                                    Object[] args,
                                    Throwable rootCause,
                                    boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceAccessor resourceAccessor,
                                       String key)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
resourceAccessor - resource accessor
key - resource identifier for localized message

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceAccessor resourceAccessor,
                                       String key,
                                       Object[] args)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceAccessor resourceAccessor,
                                       String key,
                                       Throwable rootCause)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
resourceAccessor - resource accessor
key - resource identifier for localized message
rootCause - throwable object which caused this exception

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceAccessor resourceAccessor,
                                       String key,
                                       Object[] args,
                                       Throwable rootCause)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceAccessor resourceAccessor,
                                       String key,
                                       boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
resourceAccessor - resource accessor
key - resource identifier for localized message
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceAccessor resourceAccessor,
                                       String key,
                                       Object[] args,
                                       boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceAccessor resourceAccessor,
                                       String key,
                                       Throwable rootCause,
                                       boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
resourceAccessor - resource accessor
key - resource identifier for localized message
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceAccessor resourceAccessor,
                                       String key,
                                       Object[] args,
                                       Throwable rootCause,
                                       boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceMessage message)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceMessage message,
                                       Throwable rootCause)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message
rootCause - throwable object which caused this exception

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceMessage message,
                                       boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message
logExceptionOnCreation - when true log the exception now during its construction

PropertyNameTooLongException

protected PropertyNameTooLongException(IRid rid,
                                       IPropertyName propertyName,
                                       int namespaceMaxLength,
                                       int localNameMaxLength,
                                       ResourceMessage message,
                                       Throwable rootCause,
                                       boolean logExceptionOnCreation)
Construct object of class PropertyNameTooLongException.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
propertyName - name of the property
namespaceMaxLength - namespace length constraint
localNameMaxLength - local name length constraint
message - not localized message
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction
Method Detail

getNamespaceMaxLength

public long getNamespaceMaxLength()
Get namespace length constraint.

Returns:
namespace length constraint

getLocalNameMaxLength

public long getLocalNameMaxLength()
Get local name length constraint.

Returns:
local name length constraint
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