*
* @throws UnmarshalException A Manager for <code>pQName</code>
* was not declared or creating the instance caused an exception.
*/
public JMHandler getJMHandler(Class pElementInterface) throws UnmarshalException {
JMManager manager = getManagerByInterface(pElementInterface);
if (manager == null) {
throw new UnmarshalException("No manager configured for " + pElementInterface.getName());
}
Class c = manager.getHandlerClass();
if (c == null) {
throw new UnmarshalException("No handler class configured for " +
pElementInterface.getName());
}
try {