[jboss-cvs] jboss-seam/src/main/org/jboss/seam/captcha ...
Gavin King
gavin.king at jboss.com
Thu Nov 8 01:36:05 EST 2007
User: gavin
Date: 07/11/08 01:36:05
Modified: src/main/org/jboss/seam/captcha CaptchaImage.java
Log:
oops
Revision Changes Path
1.19 +0 -12 jboss-seam/src/main/org/jboss/seam/captcha/CaptchaImage.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CaptchaImage.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/captcha/CaptchaImage.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- CaptchaImage.java 8 Nov 2007 06:30:04 -0000 1.18
+++ CaptchaImage.java 8 Nov 2007 06:36:05 -0000 1.19
@@ -19,8 +19,6 @@
import org.jboss.seam.contexts.ServletLifecycle;
import org.jboss.seam.web.AbstractResource;
-import com.octo.captcha.service.CaptchaServiceException;
-
/**
* Serves CAPTCHA images
*
@@ -59,16 +57,6 @@
{
ImageIO.write( Captcha.instance().renderChallenge(), "jpeg", out );
}
- catch (IllegalArgumentException e)
- {
- response.sendError(HttpServletResponse.SC_NOT_FOUND);
- return;
- }
- catch (CaptchaServiceException e)
- {
- response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
- return;
- }
finally
{
ServletLifecycle.endRequest(request);
More information about the jboss-cvs-commits
mailing list