Java Web Services in a Nutshell

   
UnexpectedObjectException javax.xml.registry

JAXR 1.0; JWSDP 1.0, J2EE 1.4 serializable checked

public class UnexpectedObjectException extends JAXRException { // Public Constructors public UnexpectedObjectException( ); public UnexpectedObjectException( Throwable cause ); public UnexpectedObjectException( String reason ); public UnexpectedObjectException(String reason , Throwable cause); }

UnexpectedObjectException is an exception that is thrown by a JAXR provider when asked to perform an operation using a collection of objects that are not of the type that the operation requires. For example, the saveOrganizations( ) method of BusinessLifeCycleManager requires a Collection of objects of type Organization . If an object in the Collection is not of this type, an UnexpectedObjectException is thrown.


   

Категории