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 18:56:33 -0000


------- Comment #4 from raif at swiftdsl dot com dot au  2006-08-10 18:56 
-------
hello Edwin,

the gnu.java.security.Engine#getInstance()'s message is only a part of the
chain of finding an implementation of a given algorithm.  effectively, the
lookup for an implementation of a designated algorithm, will query _all_ the
installed security providers for an implementation of that algorithm.  if there
are N providers, there may be cases where N such NoSuchAlgorithmExceptions
(with the error message form you indicated) are thrown, and caught by a higher
level class, before an ultimate NoSuchAlgorithmException with just the name of
the desired algorithm is raised.

what do you think is a better way for handling this situation?


cheers;


-- 

raif at swiftdsl dot com dot au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


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





reply via email to

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