sergiosorias / jscep

Automatically exported from code.google.com/p/jscep
MIT License
0 stars 0 forks source link

Allow abstract methods to throw exceptions in ScepServlet #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently abstract method signatures in ScepServlet.java do not allow 
general-purpose exceptions to be thrown by implementations.

In reality, the implementations can produce error conditions. It looks like a 
good idea if they can throw exceptions to be handled by ScepServlet base class. 
It looks logical for abstract method signatures to throw either 
GeneralSecurityException or some jscep-defined exception.

The attached patch uses GeneralSecurityException approach (the patch is to be 
applied after the one from issue #20).

Original issue reported on code.google.com by roman.ma...@gmail.com on 18 Dec 2010 at 9:50

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1116.

Original comment by davidgrant41 on 1 Feb 2011 at 8:39

GoogleCodeExporter commented 9 years ago

Original comment by da...@grant.org.uk on 13 Jul 2011 at 6:37

GoogleCodeExporter commented 9 years ago

Original comment by da...@grant.org.uk on 13 Jul 2011 at 6:44

GoogleCodeExporter commented 9 years ago

Original comment by da...@grant.org.uk on 21 Aug 2012 at 12:03