SAP NetWeaver '04

com.sap.netweaver.bc.rf.common.namespace
Class ResourceNameInvalidException

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.common_api.jar]
com.sap.netweaver.bc.rf.util.exception.BaseException
  |
  +--com.sap.netweaver.bc.rf.common.exception.RepositoryException
        |
        +--com.sap.netweaver.bc.rf.common.exception.ResourceException
              |
              +--com.sap.netweaver.bc.rf.common.namespace.ResourceNameInvalidException

public class ResourceNameInvalidException
extends ResourceException

Raised if the name of a resource is invalid. Examples: name is too long, name contains forbidden characters.


Constructor Summary
ResourceNameInvalidException(IRid rid, NameInfo nameInfo)
          Constructs a new exception.
ResourceNameInvalidException(IRid rid, java.lang.String message, java.lang.Object[] args, java.lang.Throwable rootCause, boolean logExceptionOnCreation, NameInfo nameInfo)
          Constructs a new exception.
 
Method Summary
 NameInfo getNameInfo()
          Get the nameInfo attribute of the ResourceNameInvalidException object.
 
Methods inherited from class com.sap.netweaver.bc.rf.common.exception.ResourceException
getRID
 

Constructor Detail

ResourceNameInvalidException

public ResourceNameInvalidException(IRid rid,
                                    NameInfo nameInfo)
Constructs a new exception.
Parameters:
rid - The identifier of the resource this exception belongs to.
nameInfo - The repository name info.

ResourceNameInvalidException

public ResourceNameInvalidException(IRid rid,
                                    java.lang.String message,
                                    java.lang.Object[] args,
                                    java.lang.Throwable rootCause,
                                    boolean logExceptionOnCreation,
                                    NameInfo nameInfo)
Constructs a new exception.
Parameters:
rid - The identifier of the resource this exception belongs to.
message - The exception message text (not localized).
args - Exception arguments, can be null .
rootCause - Throwable which caused this exception, can be null .
logExceptionOnCreation - true: Message and stacktrace is logged.
nameInfo - The repository name info.
Method Detail

getNameInfo

public NameInfo getNameInfo()
Get the nameInfo attribute of the ResourceNameInvalidException object.
Returns:
The nameInfo value

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.