[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Silent failover on broken jar file
alesj
do-not-reply at jboss.com
Tue Mar 11 10:59:41 EDT 2008
"scott.stark at jboss.org" wrote : Not being able to create a JarHandler can mean its an unpacked jar or a corrupt archive. How do you tell the difference?
|
I think we should be able to check for an unpacked jar pretty easily, right?
And make that part of the code, not even going into trying to create JarHandler, and rely on exception to tell us that it was really an unpacked jar.
And let the exception be only for corrupted archives, throwing it fwd.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135643#4135643
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135643
More information about the jboss-dev-forums
mailing list