org.omg.PortableServer.POAPackage
Class WrongAdapter
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.