/** * @author asekhar-tw on 01-Feb-2011 This method prepares the error object with the exception * details which in turn will be used to log into CENT */ private void prepareErrorObject( Exception e, String transType, String errorClass, YFSEnvironment env, Document inXML) { com.xpedx.nextgen.common.cent.Error errorObject = new com.xpedx.nextgen.common.cent.Error(); errorObject.setTransType(transType); errorObject.setErrorClass(errorClass); errorObject.setInputDoc(inXML); errorObject.setException(e); ErrorLogger.log(errorObject, env); }