List of usage examples for javax.xml.registry JAXRException fillInStackTrace
public synchronized Throwable fillInStackTrace()
From source file:it.cnr.icar.eric.client.ui.swing.JAXRClient.java
/** * DOCUMENT ME!/*from ww w.ja v a 2s . com*/ * * @param objectsToSave DOCUMENT ME! * * @return DOCUMENT ME! * * @throws JAXRException DOCUMENT ME! */ public BulkResponse saveObjects(Collection<?> objectsToSave, boolean versionMetadata, boolean versionContent) throws JAXRException { BulkResponse resp = null; try { HashMap<String, String> slotsMap = new HashMap<String, String>(); if (!versionMetadata) { slotsMap.put(BindingUtility.CANONICAL_SLOT_LCM_DONT_VERSION, "true"); } if (!versionContent) { slotsMap.put(BindingUtility.CANONICAL_SLOT_LCM_DONT_VERSION_CONTENT, "true"); } resp = lcm.saveObjects(objectsToSave, slotsMap); checkBulkResponse(resp); } catch (JAXRException e) { RegistryBrowser.displayError(e); e.fillInStackTrace(); throw e; } return resp; }