org.omg.PortableServer.POAPackage
Class WrongAdapter

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.WrongAdapter
All Implemented Interfaces:
Serializable, IDLEntity

public final class WrongAdapter
extends UserException
implements IDLEntity, Serializable

Raised when invoking POA operations, requiring that the target object would be created by this POA, if this condition is not satisfied.

See Also:
Serialized Form

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

WrongAdapter

public WrongAdapter()
Create WrongAdapter with no explaining message.


WrongAdapter

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

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