Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ArtifactInfoFactory.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ArtifactInfoFactory.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ArtifactInfoFactory.java (original) +++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ArtifactInfoFactory.java Fri Mar 6 17:55:43 2009 @@ -162,7 +162,7 @@ screenFiles = FileUtil.findXmlFiles(rootComponentPath, null, "screens", "widget-screen.xsd"); formFiles = FileUtil.findXmlFiles(rootComponentPath, null, "forms", "widget-form.xsd"); controllerFiles = FileUtil.findXmlFiles(rootComponentPath, null, "site-conf", "site-conf.xsd"); - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); } if (screenFiles != null) { @@ -174,7 +174,7 @@ Map modelScreenMap = null; try { modelScreenMap = ScreenFactory.getScreensFromLocation(screenLocation); - } catch(Exception exc) { + } catch (Exception exc) { throw new GeneralException(exc.getMessage()); } Iterator screenNames = modelScreenMap.keySet().iterator(); @@ -193,7 +193,7 @@ Map modelFormMap = null; try { modelFormMap = FormFactory.getFormsFromLocation(formLocation, this.getEntityModelReader(), this.getDispatchContext()); - } catch(Exception exc) { + } catch (Exception exc) { throw new GeneralException(exc.getMessage()); } Iterator formNames = modelFormMap.keySet().iterator(); @@ -208,21 +208,21 @@ URL controllerUrl = null; try { controllerUrl = controllerFile.toURL(); - } catch(MalformedURLException mue) { + } catch (MalformedURLException mue) { throw new GeneralException(mue.getMessage()); } ControllerConfig cc = ConfigXMLReader.getControllerConfig(controllerUrl); for (String requestUri: cc.requestMapMap.keySet()) { try { this.getControllerRequestArtifactInfo(controllerUrl, requestUri); - } catch(GeneralException e) { + } catch (GeneralException e) { Debug.logWarning(e.getMessage(), module); } } for (String viewUri: cc.viewMapMap.keySet()) { try { this.getControllerViewArtifactInfo(controllerUrl, viewUri); - } catch(GeneralException e) { + } catch (GeneralException e) { Debug.logWarning(e.getMessage(), module); } } @@ -317,7 +317,7 @@ curInfo = new ScreenWidgetArtifactInfo(screenName, screenLocation, this); this.allScreenInfos.put(curInfo.getUniqueId(), curInfo); curInfo.populateAll(); - } catch(GeneralException e) { + } catch (GeneralException e) { Debug.logWarning("Error loading screen [" + screenName + "] from resource [" + screenLocation + "]: " + e.toString(), module); return null; } Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java (original) +++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java Fri Mar 6 17:55:43 2009 @@ -89,7 +89,7 @@ try { ModelForm modelForm = aif.getModelForm(formName); - } catch(Exception e) { + } catch (Exception e) { Debug.logWarning("Form [" + formName + "] reference in form [" + this.formName + "] in resource [" + this.formLocation + "] does not exist!", module); return; } @@ -133,7 +133,7 @@ } try { ModelService modelService = aif.getModelService(serviceName); - } catch(GeneralException e) { + } catch (GeneralException e) { Debug.logWarning("Service [" + serviceName + "] reference in form [" + this.formName + "] in resource [" + this.formLocation + "] does not exist!", module); continue; } Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ScreenWidgetArtifactInfo.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ScreenWidgetArtifactInfo.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ScreenWidgetArtifactInfo.java (original) +++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ScreenWidgetArtifactInfo.java Fri Mar 6 17:55:43 2009 @@ -90,7 +90,7 @@ } try { ModelService modelService = aif.getModelService(serviceName); - } catch(GeneralException e) { + } catch (GeneralException e) { Debug.logWarning("Service [" + serviceName + "] reference in screen [" + this.screenName + "] in resource [" + this.screenLocation + "] does not exist!", module); continue; } @@ -137,7 +137,7 @@ try { ModelForm modelForm = aif.getModelForm(formName); - } catch(Exception e) { + } catch (Exception e) { Debug.logWarning("Form [" + formName + "] reference in screen [" + this.screenName + "] in resource [" + this.screenLocation + "] does not exist!", module); continue; } Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelManagerFactory.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelManagerFactory.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelManagerFactory.java (original) +++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelManagerFactory.java Fri Mar 6 17:55:43 2009 @@ -168,9 +168,9 @@ // get labels references from sources references = LabelReferences.getLabelReferences(); - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); - } catch(Exception e) { + } catch (Exception e) { throw new GeneralException(e.getMessage()); } duplicatedLocalesLabels = duplicatedLocales; @@ -346,7 +346,7 @@ String componentName = getFileComponent(fileName); label = new LabelInfo(key, keyComment, fileName, componentName, localeName, localeValue, localeComment); labels.put(key + keySeparator + fileName, label); - } catch(Exception e) { + } catch (Exception e) { e.printStackTrace(); } } else { Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java (original) +++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/labelmanager/LabelReferences.java Fri Mar 6 17:55:43 2009 @@ -124,7 +124,7 @@ getFtlEntityLabels(ftlFile, getEntityLabel); } */ - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); } } @@ -136,7 +136,7 @@ for (File javaFile: javaFiles) { getJavaLabels(javaFile, getMessage); } - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); } } @@ -182,7 +182,7 @@ pos += 1; } } - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); } } @@ -216,7 +216,7 @@ pos += 1; } } - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); } } @@ -249,9 +249,9 @@ } } } - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); - } catch(Exception e) { + } catch (Exception e) { throw new GeneralException(e.getMessage()); } } @@ -304,9 +304,9 @@ } } } - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); - } catch(Exception e) { + } catch (Exception e) { throw new GeneralException(e.getMessage()); } } @@ -389,9 +389,9 @@ } } } - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); - } catch(Exception e) { + } catch (Exception e) { throw new GeneralException(e.getMessage()); } } @@ -437,9 +437,9 @@ } } } - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); - } catch(Exception e) { + } catch (Exception e) { throw new GeneralException(e.getMessage()); } } @@ -476,9 +476,9 @@ } } } - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); - } catch(Exception e) { + } catch (Exception e) { throw new GeneralException(e.getMessage()); } } @@ -506,9 +506,9 @@ } } } - } catch(IOException ioe) { + } catch (IOException ioe) { throw new GeneralException(ioe.getMessage()); - } catch(Exception e) { + } catch (Exception e) { throw new GeneralException(e.getMessage()); } } @@ -616,7 +616,7 @@ autoFieldsEntity.put(field.getName(), "N"); } } - } catch(Exception e) { + } catch (Exception e) { throw new GeneralException(e.getMessage()); } } @@ -660,7 +660,7 @@ } } } - } catch(Exception e) { + } catch (Exception e) { throw new GeneralException(e.getMessage()); } } Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java (original) +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java Fri Mar 6 17:55:43 2009 @@ -1373,7 +1373,7 @@ if (iter instanceof EntityListIterator) { try { ((EntityListIterator) iter).first(); - } catch(GenericEntityException e) { + } catch (GenericEntityException e) { Debug.logError(e, "Error rewinding list form render EntityListIterator: " + e.toString(), module); } } @@ -1590,7 +1590,7 @@ if (iter instanceof EntityListIterator) { try { ((EntityListIterator) iter).close(); - } catch(GenericEntityException e) { + } catch (GenericEntityException e) { Debug.logError(e, "Error closing list form render EntityListIterator: " + e.toString(), module); } } @@ -2407,7 +2407,7 @@ try { Integer sz = Integer.valueOf(val); defaultViewSize = sz.intValue(); - } catch(NumberFormatException e) { + } catch (NumberFormatException e) { defaultViewSize = DEFAULT_PAGE_SIZE; } } Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormWrapper.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormWrapper.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormWrapper.java (original) +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormWrapper.java Fri Mar 6 17:55:43 2009 @@ -67,7 +67,7 @@ GenericDelegator delegator = (GenericDelegator) request.getAttribute("delegator"); LocalDispatcher dispatcher = (LocalDispatcher) request.getAttribute("dispatcher"); this.modelForm = FormFactory.getFormFromLocation(resourceName, formName, delegator.getModelReader(), dispatcher.getDispatchContext()); - } catch(IllegalArgumentException iae) { + } catch (IllegalArgumentException iae) { Debug.logWarning("Could not find form with name [" + formName + "] in class resource [" + resourceName + "], will try to load it using relative path syntax.", module); this.modelForm = FormFactory.getFormFromWebappContext(resourceName, formName, request); } Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuRendererImage.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuRendererImage.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuRendererImage.java (original) +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuRendererImage.java Fri Mar 6 17:55:43 2009 @@ -59,7 +59,7 @@ } else { Debug.logError("Not rendering image because can't get WebSitePublishPoint, not ContentWorker found.", module); } - } catch(GenericEntityException e) { + } catch (GenericEntityException e) { //Debug.logInfo("in HtmlMenuRendererImage, GEException:" + e.getMessage(),""); throw new RuntimeException(e.getMessage()); } Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuWrapper.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuWrapper.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuWrapper.java (original) +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuWrapper.java Fri Mar 6 17:55:43 2009 @@ -215,17 +215,17 @@ Class cls = Class.forName("org.ofbiz.widget.html." + menuWrapperClassName); menuWrapper = (HtmlMenuWrapper)cls.newInstance(); menuWrapper.init(menuDefFile, menuName, request, response); - } catch(InstantiationException e) { + } catch (InstantiationException e) { throw new RuntimeException(e.getMessage()); - } catch(IllegalAccessException e2) { + } catch (IllegalAccessException e2) { throw new RuntimeException(e2.getMessage()); - } catch(ClassNotFoundException e3) { + } catch (ClassNotFoundException e3) { throw new RuntimeException("Class not found:" + e3.getMessage()); - } catch(IOException e4) { + } catch (IOException e4) { throw new RuntimeException(e4.getMessage()); - } catch(SAXException e5) { + } catch (SAXException e5) { throw new RuntimeException(e5.getMessage()); - } catch(ParserConfigurationException e6) { + } catch (ParserConfigurationException e6) { throw new RuntimeException(e6.getMessage()); } } else { Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java (original) +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java Fri Mar 6 17:55:43 2009 @@ -678,11 +678,11 @@ writer.append(renderedContent); } - } catch(GeneralException e) { + } catch (GeneralException e) { String errMsg = "Error rendering included content with id [" + expandedContentId + "] : " + e.toString(); Debug.logError(e, errMsg, module); //throw new RuntimeException(errMsg); - } catch(IOException e2) { + } catch (IOException e2) { String errMsg = "Error rendering included content with id [" + expandedContentId + "] : " + e2.toString(); Debug.logError(e2, errMsg, module); //throw new RuntimeException(errMsg); @@ -799,11 +799,11 @@ writer.append(renderedContent); } - } catch(GeneralException e) { + } catch (GeneralException e) { String errMsg = "Error rendering included content with id [" + expandedContentId + "] : " + e.toString(); Debug.logError(e, errMsg, module); //throw new RuntimeException(errMsg); - } catch(IOException e2) { + } catch (IOException e2) { String errMsg = "Error rendering included content with id [" + expandedContentId + "] : " + e2.toString(); Debug.logError(e2, errMsg, module); //throw new RuntimeException(errMsg); @@ -841,7 +841,7 @@ GenericValue view = null; try { view = ContentWorker.getSubContentCache(delegator, contentIdTo, mapKey, userLogin, null, UtilDateTime.nowTimestamp(), Boolean.valueOf(false), null); - } catch(GenericEntityException e) { + } catch (GenericEntityException e) { throw new IOException("Originally a GenericEntityException. " + e.getMessage()); } */ Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/MenuWrapTransform.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/MenuWrapTransform.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/MenuWrapTransform.java (original) +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/MenuWrapTransform.java Fri Mar 6 17:55:43 2009 @@ -99,7 +99,7 @@ } else { Debug.logError("Not rendering content, not ContentWorker found.", module); } - } catch(GeneralException e) { + } catch (GeneralException e) { throw new RuntimeException("Error getting current content. " + e.toString()); } final GenericValue view = val; Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java (original) +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java Fri Mar 6 17:55:43 2009 @@ -168,7 +168,7 @@ if (globalCtx != null) { globalCtx.put("PAGINATOR_NUMBER", lastPageNumber); } - } catch(IOException e) { + } catch (IOException e) { Debug.logError(e, module); throw new RuntimeException(e.getMessage()); } @@ -201,7 +201,7 @@ public void setViewSize(String val) { try { viewSize = Integer.parseInt(val); - } catch(NumberFormatException e) { + } catch (NumberFormatException e) { viewSize = DEFAULT_PAGE_SIZE; } } Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreen.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreen.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreen.java (original) +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreen.java Fri Mar 6 17:55:43 2009 @@ -359,7 +359,7 @@ if (transactionTimeoutPar != null) { try { transactionTimeout = Integer.parseInt(transactionTimeoutPar); - } catch(NumberFormatException nfe) { + } catch (NumberFormatException nfe) { String msg = "TRANSACTION_TIMEOUT parameter for screen [" + this.sourceLocation + "#" + this.name + "] is invalid and it will be ignored: " + nfe.toString(); Debug.logWarning(msg, module); } Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/tree/ModelTree.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/tree/ModelTree.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/tree/ModelTree.java (original) +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/tree/ModelTree.java Fri Mar 6 17:55:43 2009 @@ -105,13 +105,13 @@ setDefaultEntityName(treeElement.getAttribute("entity-name")); try { openDepth = Integer.parseInt(treeElement.getAttribute("open-depth")); - } catch(NumberFormatException e) { + } catch (NumberFormatException e) { openDepth = 0; } try { postTrailOpenDepth = Integer.parseInt(treeElement.getAttribute("post-trail-open-depth")); - } catch(NumberFormatException e) { + } catch (NumberFormatException e) { postTrailOpenDepth = 999; } @@ -493,7 +493,7 @@ obj = entity.get("childBranchCount"); if (obj != null) nodeCount = (Long)obj; - } catch(GenericEntityException e) { + } catch (GenericEntityException e) { Debug.logError(e, module); throw new RuntimeException(e.getMessage()); } @@ -553,7 +553,7 @@ } try { eli.close(); - } catch(GenericEntityException e) { + } catch (GenericEntityException e) { Debug.logError(e, module); throw new RuntimeException(e.getMessage()); } Modified: ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java (original) +++ ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java Fri Mar 6 17:55:43 2009 @@ -398,7 +398,7 @@ if (UtilValidate.isNotEmpty(googleProduct)) { googleProductId = googleProduct.getString("idValue"); } - } catch(GenericEntityException gee) { + } catch (GenericEntityException gee) { Debug.logError("Unable to obtain GoodIdentification entity value of the Google id for product [" + prod.getString("productId") + "]: " + gee.getMessage(), module); } } @@ -452,7 +452,7 @@ if (UtilValidate.isNotEmpty(googleProduct)) { UtilXml.addChildElementValue(entryElem, "g:ean", googleProduct.getString("idValue"), feedDocument); } - } catch(GenericEntityException gee) { + } catch (GenericEntityException gee) { Debug.logInfo("Unable to get the SKU for product [" + prod.getString("productId") + "]: " + gee.getMessage(), module); } Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/MenuEvents.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/MenuEvents.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/MenuEvents.java (original) +++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/MenuEvents.java Fri Mar 6 17:55:43 2009 @@ -205,7 +205,7 @@ pcw = configureItem.openDlg(); configureItem = null; } - } catch(Exception e) { + } catch (Exception e) { Debug.logError(e, module); pos.showDialog("dialog/error/producterror"); } @@ -445,7 +445,7 @@ } else { pos.showDialog("dialog/error/itemnotconfigurable"); } - } catch(Exception e) { + } catch (Exception e) { Debug.logError(e, module); pos.showDialog("dialog/error/producterror"); } Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java (original) +++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java Fri Mar 6 17:55:43 2009 @@ -192,7 +192,7 @@ if (UtilValidate.isNotEmpty(creditExpirationInfo[1])) { // setup keyed transaction msrInfoStr = crtInfo[1] + "|" + creditExpirationInfo[1]; - }else { + } else { msrInfoStr = crtInfo[1]; } } Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/TestEvents.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/TestEvents.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/TestEvents.java (original) +++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/TestEvents.java Fri Mar 6 17:55:43 2009 @@ -53,7 +53,7 @@ numericKeypad.setMinus(true); numericKeypad.setPercent(false); String results = numericKeypad.openDlg(); - } catch(Exception e) { + } catch (Exception e) { Debug.logError(e, module); } Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ConfigureItem.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ConfigureItem.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ConfigureItem.java (original) +++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/ConfigureItem.java Fri Mar 6 17:55:43 2009 @@ -427,7 +427,7 @@ m_configureItem.listPressed(); } } - catch(Exception ex) { + catch (Exception ex) { Debug.logInfo(ex.getMessage(), module); ex.printStackTrace(); } Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java (original) +++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java Fri Mar 6 17:55:43 2009 @@ -152,7 +152,7 @@ numericKeypad.setMinus(true); numericKeypad.setPercent(false); m_amountEdit.setText(numericKeypad.openDlg()); - } catch(Exception e) { + } catch (Exception e) { Debug.logError(e, module); } m_dialog.repaint(); Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/SaveSale.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/SaveSale.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/SaveSale.java (original) +++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/SaveSale.java Fri Mar 6 17:55:43 2009 @@ -133,7 +133,7 @@ Keyboard keyboard = new Keyboard(m_pos); keyboard.setText(m_saleName.getText()); m_saleName.setText(keyboard.openDlg()); - } catch(Exception e) { + } catch (Exception e) { Debug.logError(e, module); } m_dialog.repaint(); Modified: ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/repository/EntityRepositoryMgr.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/repository/EntityRepositoryMgr.java?rev=751005&r1=751004&r2=751005&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/repository/EntityRepositoryMgr.java (original) +++ ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/repository/EntityRepositoryMgr.java Fri Mar 6 17:55:43 2009 @@ -266,7 +266,7 @@ } } } - catch(Exception e) + catch (Exception e) { e.printStackTrace(); } @@ -324,7 +324,7 @@ long xpdlClassVer) throws RepositoryException { Debug.log("XPDL Upload : " + xpdlId, module); - //try {throw new Exception ("XPDL Upload");} catch(Exception e) {e.printStackTrace();}; + //try {throw new Exception ("XPDL Upload");} catch (Exception e) {e.printStackTrace();}; String newVersion = null; try { newVersion = nextVersions.updateNextVersion(xpdlId); |
Free forum by Nabble | Edit this page |