org.omg.PortableServer.POAPackage

Class WrongAdapter

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

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.