← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12656: remove some unnecessary throws exceptions

 

------------------------------------------------------------
revno: 12656
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-10-15 09:42:44 +0200
message:
  remove some unnecessary throws exceptions
modified:
  dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/pdfform/DefaultPdfDataEntryFormService.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/pdfform/DefaultPdfDataEntryFormService.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/pdfform/DefaultPdfDataEntryFormService.java	2013-10-15 07:40:07 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/pdfform/DefaultPdfDataEntryFormService.java	2013-10-15 07:42:44 +0000
@@ -151,7 +151,7 @@
     }
 
     private void setDataSet_DocumentContent( Document document, PdfWriter writer, String dataSetUid )
-        throws IOException, DocumentException, ParseException, Exception
+        throws Exception
     {
         DataSet dataSet = dataSetService.getDataSet( dataSetUid );
                        
@@ -313,7 +313,7 @@
     }
 
     private void setProgramStage_DocumentContent( Document document, PdfWriter writer, String programStageUid )
-        throws IOException, DocumentException, ParseException, Exception
+        throws Exception
     {
         ProgramStage programStage = programStageService.getProgramStage( programStageUid );