SAP NetWeaver '04

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

[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.InvalidTargetException

public class InvalidTargetException
extends ResourceException

An invalid target was used for a copy or move operation.


Constructor Summary
InvalidTargetException(IRid rid, IRid invalidTarget)
          Constructs a new exception.
InvalidTargetException(IRid rid, java.lang.String message, java.lang.Object[] args, java.lang.Throwable rootCause, boolean logExceptionOnCreation, IRid invalidTarget)
          Constructs a new exception.
 
Method Summary
 IRid getInvalidTargetRid()
          Returns the invalid target that caused the exception.
 
Methods inherited from class com.sap.netweaver.bc.rf.common.exception.ResourceException
getRID
 

Constructor Detail

InvalidTargetException

public InvalidTargetException(IRid rid,
                              IRid invalidTarget)
Constructs a new exception.
Parameters:
rid - The identifier of the resource this exception belongs to.
invalidTarget - The invalid identifier that was supplied by the client.

InvalidTargetException

public InvalidTargetException(IRid rid,
                              java.lang.String message,
                              java.lang.Object[] args,
                              java.lang.Throwable rootCause,
                              boolean logExceptionOnCreation,
                              IRid invalidTarget)
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.
invalidTarget - The invalid identifier that was supplied by the client.
Method Detail

getInvalidTargetRid

public IRid getInvalidTargetRid()
Returns the invalid target that caused the exception. Can be null .
Returns:
the invalid target that caused the exception. Can be null .

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.