[wsas-java-dev] svn commit r9750 -
branches/wsas/java/2.1/wsas/java/modules/core/src/org/wso2/wsas/util
svn at wso2.org
svn at wso2.org
Wed Nov 14 01:33:43 PST 2007
Author: azeez
Date: Wed Nov 14 01:33:38 2007
New Revision: 9750
Modified:
branches/wsas/java/2.1/wsas/java/modules/core/src/org/wso2/wsas/util/FileDownloadUtil.java
Log:
Fixing an NPE
Modified: branches/wsas/java/2.1/wsas/java/modules/core/src/org/wso2/wsas/util/FileDownloadUtil.java
==============================================================================
--- branches/wsas/java/2.1/wsas/java/modules/core/src/org/wso2/wsas/util/FileDownloadUtil.java (original)
+++ branches/wsas/java/2.1/wsas/java/modules/core/src/org/wso2/wsas/util/FileDownloadUtil.java Wed Nov 14 01:33:38 2007
@@ -57,8 +57,10 @@
out.flush();
out.close();
} catch (IOException e) {
- throw new ServerException("Unable to retrieve file ", e);
+ throw new ServerException("Unable to write output to HttpServletResponse OutputStream",
+ e);
}
+ return false;
}
try {
@@ -80,6 +82,4 @@
throw new ServerException("Unable to retrieve file ", e);
}
}
-
-
}
More information about the Wsas-java-dev
mailing list