The MarshalException is a subclass of the {@link javax.xml.bind.JAXBException} being thrown if theunmarshalling of a JAXB object failed.
MarshalException
121122123124125126127128
value = new JAXBElement(qname, unwrappedValue.getClass(), unwrappedValue); } } return value; } catch (Exception e) { throw new UnmarshalException(e); } }
144145146147148149150151
} } return value; } catch (Exception e) { throw new UnmarshalException(e); } }
166167168169170171172173
209210211212213214215216
288289290291292293294295
564565566567568569570
throw new IllegalStateException(); if(!aborted) return result; // there was an error. throw new UnmarshalException((String)null); }
638639640641642643644645646
// from the unmarshaller.getResult() if(!recover) aborted = true; if( !canRecover || !recover ) throw new SAXParseException2( event.getMessage(), locator, new UnmarshalException( event.getMessage(), event.getLinkedException() ) ); }
553554555556557558559
627628629630631632633634635
135136137138139140141142143144145
u.coordinator.setThreadAffinity(); u.coordinator.pushCoordinator(); try { return a.unmarshal(v); } catch (Exception e) { throw new UnmarshalException(e); } finally { u.coordinator.popCoordinator(); u.coordinator.resetThreadAffinity(); } }