Name

WrongPolicy

Synopsis

This exception is thrown when a POA operation is called and the POA Policy set is not compatible with the request.

                  
public final class WrongPolicy extends org.omg.CORBA.UserException {
// Public Constructors
   public WrongPolicy();  
   public WrongPolicy( String $reason);  
}

Passed To

WrongPolicyHelper.{insert(), write()}

Returned By

WrongPolicyHelper.{extract(), read()}

Thrown By

POAOperations.{activate_object(), activate_object_with_id(), create_reference(), deactivate_object(), get_servant(), get_servant_manager(), id_to_reference(), id_to_servant(), reference_to_id(), reference_to_servant(), servant_to_id(), servant_to_reference(), set_servant(), set_servant_manager()}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.