bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug crypto/28678] Misleading error message from gnu.java.security.Engin


From: raif at swiftdsl dot com dot au
Subject: [Bug crypto/28678] Misleading error message from gnu.java.security.Engine
Date: 10 Aug 2006 21:04:24 -0000


------- Comment #6 from raif at swiftdsl dot com dot au  2006-08-10 21:04 
-------
hello Edwin,

let's assume for a moment that we change the code in the Engine class to throw
a NoSuchAlgorithmException(msg) with a less cryptic message detailing the
possible 6 causes for failure to return an algorithm class.  let's further
assume that we change the half-dozen or so high-level classes that call Engine
to chain these exceptions with the ultimate NoSuchAlgorithm(name) exception
they will throw for all installed providers.

how does a programmer use this information to recover at runtime from such an
exception?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28678





reply via email to

[Prev in Thread] Current Thread [Next in Thread]