# com.bea.netuix.application.exception
ObjectInUseException Class

public class ObjectInUseException
extends `NetuixException`

This exception is thrown when an attempt to update or delete an object is requested but the object is being used by an end user. An example would be trying to delete a `PortletDefinition` when end users are using `PortletInstance`s based off that definition.

Hierarchy
  `Object`
  `Throwable`
  `Exception`
  `NetuixException`
  `ObjectInUseException`

All Implemented Interfaces
  `Serializable`

## Constructor Summary

ObjectInUseException() Constructs a `ObjectInUseException` with no specified detail message.
ObjectInUseException(`String` s, `Throwable` cause) Constructs a `ObjectInUseException` with the specified detail message and causal exception.
ObjectInUseException(`String` s) Constructs a `ObjectInUseException` with the specified detail message.
ObjectInUseException(`Throwable` cause) Constructs a `ObjectInUseException` with the specified causal exception.

## Method Summary

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

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

## Constructor Detail

### ObjectInUseException

    public ObjectInUseException()

  Constructs a `ObjectInUseException` with no specified detail message.

### ObjectInUseException

    public ObjectInUseException(String s,
                                Throwable cause)

  Constructs a `ObjectInUseException` with the specified detail message and causal exception.

### ObjectInUseException

    public ObjectInUseException(String s)

  Constructs a `ObjectInUseException` with the specified detail message.

### ObjectInUseException

    public ObjectInUseException(Throwable cause)

  Constructs a `ObjectInUseException` with the specified causal exception.