Fixed: Add support to read and register resources defined in XML DSL(OFBIZ-11995)
Fixes a JavaDoc issue and while at it replaces // TODO Auto-generated catch block e.printStackTrace(); by Debug.logError(e, MODULE);
This commit is contained in:
@@ -131,11 +131,8 @@ public class ExamplePrintServices {
|
||||
Fop fop = ApacheFopWorker.createFopInstance(out, MimeConstants.MIME_PDF);
|
||||
ApacheFopWorker.transform(src, null, fop);
|
||||
} catch (FOPException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
Debug.logError(e, MODULE);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
// set the content type and length
|
||||
response.setContentType("application/pdf");
|
||||
|
||||
Reference in New Issue
Block a user