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

Class ResourceNotCollectionException

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.exception.ResourceNotCollectionException
All Implemented Interfaces:
com.sap.exception.IBaseException, Serializable

public class ResourceNotCollectionException
extends ResourceException

Indicates that the resource has changed to a non-collection since the IResource object was obtained.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.sap.exception.IBaseException
audit, defaultLocale
 
Constructor Summary
  ResourceNotCollectionException(IRid rid)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, boolean logExceptionOnCreation)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceAccessor resourceAccessor, String key)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceAccessor resourceAccessor, String key, boolean logExceptionOnCreation)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceAccessor resourceAccessor, String key, Object[] args)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceAccessor resourceAccessor, String key, Object[] args, boolean logExceptionOnCreation)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceAccessor resourceAccessor, String key, Object[] args, Throwable rootCause)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceAccessor resourceAccessor, String key, Object[] args, Throwable rootCause, boolean logExceptionOnCreation)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceAccessor resourceAccessor, String key, Throwable rootCause)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceAccessor resourceAccessor, String key, Throwable rootCause, boolean logExceptionOnCreation)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceMessage message)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceMessage message, boolean logExceptionOnCreation)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceMessage message, Throwable rootCause)
          Constructs a new exception.
protected ResourceNotCollectionException(IRid rid, ResourceMessage message, Throwable rootCause, boolean logExceptionOnCreation)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, String message)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, String message, boolean logExceptionOnCreation)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, String message, Object[] args)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, String message, Object[] args, boolean logExceptionOnCreation)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, String message, Object[] args, Throwable rootCause)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, String message, Object[] args, Throwable rootCause, boolean logExceptionOnCreation)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, String message, Throwable rootCause)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, String message, Throwable rootCause, boolean logExceptionOnCreation)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, Throwable rootCause)
          Constructs a new exception.
  ResourceNotCollectionException(IRid rid, Throwable rootCause, boolean logExceptionOnCreation)
          Constructs a new exception.
 
Method Summary
 
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

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid)
Constructs a new exception.

Parameters:
rid - resource id of the resource this exception is associated with (if any)

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      boolean logExceptionOnCreation)
Constructs a new exception.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
logExceptionOnCreation - when true log the exception now during its construction

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      Throwable rootCause)
Constructs a new exception.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
rootCause - throwable object which caused this exception

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      Throwable rootCause,
                                      boolean logExceptionOnCreation)
Constructs a new exception.

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

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      String message)
Constructs a new exception.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      String message,
                                      Object[] args)
Constructs a new exception.

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

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      String message,
                                      Throwable rootCause)
Constructs a new exception.

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

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      String message,
                                      Object[] args,
                                      Throwable rootCause)
Constructs a new exception.

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

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      String message,
                                      boolean logExceptionOnCreation)
Constructs a new exception.

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

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      String message,
                                      Object[] args,
                                      boolean logExceptionOnCreation)
Constructs a new exception.

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

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      String message,
                                      Throwable rootCause,
                                      boolean logExceptionOnCreation)
Constructs a new exception.

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

ResourceNotCollectionException

public ResourceNotCollectionException(IRid rid,
                                      String message,
                                      Object[] args,
                                      Throwable rootCause,
                                      boolean logExceptionOnCreation)
Constructs a new exception.

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

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceAccessor resourceAccessor,
                                         String key)
Constructs a new exception.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
resourceAccessor - resource accessor
key - resource identifier for localized message

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceAccessor resourceAccessor,
                                         String key,
                                         Object[] args)
Constructs a new exception.

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

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceAccessor resourceAccessor,
                                         String key,
                                         Throwable rootCause)
Constructs a new exception.

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

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceAccessor resourceAccessor,
                                         String key,
                                         Object[] args,
                                         Throwable rootCause)
Constructs a new exception.

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

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceAccessor resourceAccessor,
                                         String key,
                                         boolean logExceptionOnCreation)
Constructs a new exception.

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

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceAccessor resourceAccessor,
                                         String key,
                                         Object[] args,
                                         boolean logExceptionOnCreation)
Constructs a new exception.

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

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceAccessor resourceAccessor,
                                         String key,
                                         Throwable rootCause,
                                         boolean logExceptionOnCreation)
Constructs a new exception.

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

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceAccessor resourceAccessor,
                                         String key,
                                         Object[] args,
                                         Throwable rootCause,
                                         boolean logExceptionOnCreation)
Constructs a new exception.

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

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceMessage message)
Constructs a new exception.

Parameters:
rid - resource id of the resource this exception is associated with (if any)
message - not localized message

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceMessage message,
                                         Throwable rootCause)
Constructs a new exception.

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

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceMessage message,
                                         boolean logExceptionOnCreation)
Constructs a new exception.

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

ResourceNotCollectionException

protected ResourceNotCollectionException(IRid rid,
                                         ResourceMessage message,
                                         Throwable rootCause,
                                         boolean logExceptionOnCreation)
Constructs a new exception.

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
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