Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


oracle.wcps.property
Class ObjectInUseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.wcps.property.PropertyServiceException
              extended by oracle.wcps.property.ObjectInUseException

All Implemented Interfaces:
java.io.Serializable

public class ObjectInUseException
extends PropertyServiceException

The ObjectInUseException is thrown from a property service to indicate that updating or deleting the specified property entity could not be done because the entity is currently referenced by other property entities in the system.

See Also:
Serialized Form

Constructor Summary
ObjectInUseException()
          Constructs a default ObjectInUseException.
ObjectInUseException(java.lang.Class modelClass, IName name)
          Constructs an ObjectInUseException indicating that the object with the specified class and specified Name could not be updated or deleted because it is currently being referenced by other property entities within the system.
ObjectInUseException(INamespace namespace)
          Constructs an ObjectInUseException indicating that the specified Namespace could not be deleted because it is currently being referenced by other property entities within the system.
ObjectInUseException(IPropertyDefinition propertyDefinition)
          Constructs an ObjectInUseException indicating that the specified PropertyDefinition could not be updated or deleted because it is currently being referenced by other property entities within the system.
ObjectInUseException(IPropertySet propertySet)
          Constructs an ObjectInUseException indicating that the specified PropertySet could not be updated or deleted because it is currently being referenced by other property entities within the system.
ObjectInUseException(IPropertySetDefinition propertySetDefinition)
          Constructs an ObjectInUseException indicating that the specified PropertySetDefinition could not be updated or deleted because it is currently being referenced by other property entities within the system.
ObjectInUseException(java.lang.String message)
          Constructs an ObjectInUseException with the specified message.

 

Method Summary

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ObjectInUseException

public ObjectInUseException()
Constructs a default ObjectInUseException.

ObjectInUseException

public ObjectInUseException(java.lang.String message)
Constructs an ObjectInUseException with the specified message.
Parameters:
message - - the message pertaining to this exception.

ObjectInUseException

public ObjectInUseException(INamespace namespace)
Constructs an ObjectInUseException indicating that the specified Namespace could not be deleted because it is currently being referenced by other property entities within the system.
Parameters:
namespace - - the Namespace pertaining to this exception.

ObjectInUseException

public ObjectInUseException(IPropertyDefinition propertyDefinition)
Constructs an ObjectInUseException indicating that the specified PropertyDefinition could not be updated or deleted because it is currently being referenced by other property entities within the system.
Parameters:
propertyDefinition - - the PropertyDefinition pertaining to this exception.

ObjectInUseException

public ObjectInUseException(IPropertySetDefinition propertySetDefinition)
Constructs an ObjectInUseException indicating that the specified PropertySetDefinition could not be updated or deleted because it is currently being referenced by other property entities within the system.
Parameters:
propertySetDefinition - - the PropertySetDefinition pertaining to this exception.

ObjectInUseException

public ObjectInUseException(IPropertySet propertySet)
Constructs an ObjectInUseException indicating that the specified PropertySet could not be updated or deleted because it is currently being referenced by other property entities within the system.
Parameters:
propertySet - - the PropertySet pertaining to this exception.

ObjectInUseException

public ObjectInUseException(java.lang.Class modelClass,
                            IName name)
Constructs an ObjectInUseException indicating that the object with the specified class and specified Name could not be updated or deleted because it is currently being referenced by other property entities within the system.
Parameters:
modelClass - - the class of the object pertaining to this exception.
name - - the name of the object pertaining to this exception.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.