org.omg.PortableServer.POAPackage
Class WrongPolicy
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
org.omg.PortableServer.POAPackage.WrongPolicy
- All Implemented Interfaces:
- Serializable, IDLEntity
public final class WrongPolicy
- extends UserException
- implements IDLEntity, Serializable
Raised when invoking the operation that is not allowed by the current
combination of the used policies.
- See Also:
- Serialized Form
Constructor Summary |
WrongPolicy()
Create WrongPolicy with no explaining
message. |
WrongPolicy(String why)
Create the WrongPolicy with explaining
message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
WrongPolicy
public WrongPolicy()
- Create WrongPolicy with no explaining
message.
WrongPolicy
public WrongPolicy(String why)
- Create the WrongPolicy with explaining
message.
- Parameters:
why
- a string, explaining, why this exception has been thrown.