org.omg.PortableServer.POAPackage
Class ServantAlreadyActive

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by org.omg.PortableServer.POAPackage.ServantAlreadyActive
All Implemented Interfaces:
Serializable, IDLEntity

public final class ServantAlreadyActive
extends UserException
implements IDLEntity, Serializable

Raised in response to activate the already active object when the UNIQUE_ID (single ID per object, default) policy is active. If the UNIQUE_ID policy is inactive, the object can be activated several times, each time obtaining a newly generated Id to the same object.

See Also:
IdUniquenessPolicyValue, Serialized Form

Constructor Summary
ServantAlreadyActive()
          Create ServantAlreadyActive with no explaining message.
ServantAlreadyActive(String why)
          Create the ServantAlreadyActive with explaining 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

ServantAlreadyActive

public ServantAlreadyActive()
Create ServantAlreadyActive with no explaining message.


ServantAlreadyActive

public ServantAlreadyActive(String why)
Create the ServantAlreadyActive with explaining message.

Parameters:
why - a string, explaining, why this exception has been thrown.