SAP NetWeaver '04

com.sap.netweaver.bc.rf.common.exception
Class ResourceException

[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
Direct Known Subclasses:
AbstractPropertyException, AccessDeniedException, AclException, ArgumentNotValidException, CheckedOutException, CollectionOrderImmutableException, ContentMetadataMismatchException, ContentUnavailableException, InvalidTargetException, IOOperationFailedException, LinkTargetInvalidException, LockInPlaceException, LockNotFoundException, NotVersionedException, OperationNotSupportedException, OrderMechanismInvalidException, OrderPositionInvalidException, ResourceNameAlreadyAssignedException, ResourceNameInvalidException, ResourceNameUnassignableException, ResourceNotCheckedOutException, ResourceNotCollectionException, ResourceNotFoundException, ResourceReadOnlyException, ServiceNotAvailableException, TypeException, VersionHasDescendantsException, VersionHistoryInUseException, VersionIsCheckedOutException, WrongRevisionException

public class ResourceException
extends RepositoryException

Base class for all exception thrown by repository sub-manager methods. Raised if the specified arguments are illegal or the method call failed for some reason that has no dedicated sub-classed exception.


Constructor Summary
  ResourceException(IRid rid)
          Construct object of class ResourceException.
  ResourceException(IRid rid, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceAccessor resourceAccessor, java.lang.String key)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceAccessor resourceAccessor, java.lang.String key, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Object[] args)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Object[] args, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Object[] args, java.lang.Throwable rootCause)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Object[] args, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Throwable rootCause)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceMessage message)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceMessage message, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceMessage message, java.lang.Throwable rootCause)
          Construct object of class ResourceException.
protected ResourceException(IRid rid, ResourceMessage message, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
  ResourceException(IRid rid, java.lang.String message)
          Construct object of class ResourceException.
  ResourceException(IRid rid, java.lang.String message, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
  ResourceException(IRid rid, java.lang.String message, java.lang.Object[] args)
          Construct object of class ResourceException.
  ResourceException(IRid rid, java.lang.String message, java.lang.Object[] args, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
  ResourceException(IRid rid, java.lang.String message, java.lang.Object[] args, java.lang.Throwable rootCause)
          Construct object of class ResourceException.
  ResourceException(IRid rid, java.lang.String message, java.lang.Object[] args, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
  ResourceException(IRid rid, java.lang.String message, java.lang.Throwable rootCause)
          Construct object of class ResourceException.
  ResourceException(IRid rid, java.lang.String message, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
  ResourceException(IRid rid, java.lang.Throwable rootCause)
          Construct object of class ResourceException.
  ResourceException(IRid rid, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class ResourceException.
 
Method Summary
 IRid getRID()
          Get resource id of the resource this exception is associated with or null if none is associated with.
 

Constructor Detail

ResourceException

public ResourceException(IRid rid)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)

ResourceException

public ResourceException(IRid rid,
                         boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
logExceptionOnCreation - when true log the exception now during its construction

ResourceException

public ResourceException(IRid rid,
                         java.lang.Throwable rootCause)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
rootCause - throwable object which caused this exception

ResourceException

public ResourceException(IRid rid,
                         java.lang.Throwable rootCause,
                         boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

ResourceException

public ResourceException(IRid rid,
                         java.lang.String message)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message

ResourceException

public ResourceException(IRid rid,
                         java.lang.String message,
                         java.lang.Object[] args)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message
args - message arguments inserted by MessageFormat means

ResourceException

public ResourceException(IRid rid,
                         java.lang.String message,
                         java.lang.Throwable rootCause)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message
rootCause - throwable object which caused this exception

ResourceException

public ResourceException(IRid rid,
                         java.lang.String message,
                         java.lang.Object[] args,
                         java.lang.Throwable rootCause)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception

ResourceException

public ResourceException(IRid rid,
                         java.lang.String message,
                         boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message
logExceptionOnCreation - when true log the exception now during its construction

ResourceException

public ResourceException(IRid rid,
                         java.lang.String message,
                         java.lang.Object[] args,
                         boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message
args - message arguments inserted by MessageFormat means
logExceptionOnCreation - when true log the exception now during its construction

ResourceException

public ResourceException(IRid rid,
                         java.lang.String message,
                         java.lang.Throwable rootCause,
                         boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

ResourceException

public ResourceException(IRid rid,
                         java.lang.String message,
                         java.lang.Object[] args,
                         java.lang.Throwable rootCause,
                         boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
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

ResourceException

protected ResourceException(IRid rid,
                            ResourceAccessor resourceAccessor,
                            java.lang.String key)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
resourceAccessor - resource accessor
key - resource identifier for localized message

ResourceException

protected ResourceException(IRid rid,
                            ResourceAccessor resourceAccessor,
                            java.lang.String key,
                            java.lang.Object[] args)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means

ResourceException

protected ResourceException(IRid rid,
                            ResourceAccessor resourceAccessor,
                            java.lang.String key,
                            java.lang.Throwable rootCause)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
resourceAccessor - resource accessor
key - resource identifier for localized message
rootCause - throwable object which caused this exception

ResourceException

protected ResourceException(IRid rid,
                            ResourceAccessor resourceAccessor,
                            java.lang.String key,
                            java.lang.Object[] args,
                            java.lang.Throwable rootCause)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception

ResourceException

protected ResourceException(IRid rid,
                            ResourceAccessor resourceAccessor,
                            java.lang.String key,
                            boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
resourceAccessor - resource accessor
key - resource identifier for localized message
logExceptionOnCreation - when true log the exception now during its construction

ResourceException

protected ResourceException(IRid rid,
                            ResourceAccessor resourceAccessor,
                            java.lang.String key,
                            java.lang.Object[] args,
                            boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
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

ResourceException

protected ResourceException(IRid rid,
                            ResourceAccessor resourceAccessor,
                            java.lang.String key,
                            java.lang.Throwable rootCause,
                            boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
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

ResourceException

protected ResourceException(IRid rid,
                            ResourceAccessor resourceAccessor,
                            java.lang.String key,
                            java.lang.Object[] args,
                            java.lang.Throwable rootCause,
                            boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
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

ResourceException

protected ResourceException(IRid rid,
                            ResourceMessage message)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message

ResourceException

protected ResourceException(IRid rid,
                            ResourceMessage message,
                            java.lang.Throwable rootCause)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message
rootCause - throwable object which caused this exception

ResourceException

protected ResourceException(IRid rid,
                            ResourceMessage message,
                            boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message
logExceptionOnCreation - when true log the exception now during its construction

ResourceException

protected ResourceException(IRid rid,
                            ResourceMessage message,
                            java.lang.Throwable rootCause,
                            boolean logExceptionOnCreation)
Construct object of class ResourceException.
Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction
Method Detail

getRID

public IRid getRID()
Get resource id of the resource this exception is associated with or null if none is associated with.
Returns:
resource id of the resource this exception is associated with

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.