Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 81561 invoked from network); 2 May 2004 08:51:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 May 2004 08:51:58 -0000 Received: (qmail 4632 invoked by uid 500); 2 May 2004 08:51:31 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 4285 invoked by uid 500); 2 May 2004 08:51:29 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 4272 invoked by uid 500); 2 May 2004 08:51:29 -0000 Received: (qmail 4269 invoked from network); 2 May 2004 08:51:29 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 2 May 2004 08:51:29 -0000 Received: (qmail 81475 invoked by uid 1842); 2 May 2004 08:51:54 -0000 Date: 2 May 2004 08:51:54 -0000 Message-ID: <20040502085154.81474.qmail@minotaur.apache.org> From: treilly@apache.org To: jakarta-commons-sandbox-cvs@apache.org Subject: cvs commit: jakarta-commons-sandbox/id/src/java/org/apache/commons/id/uuid VersionFourGenerator.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N treilly 2004/05/02 01:51:54 Modified: id/src/java/org/apache/commons/id/uuid VersionFourGenerator.java Log: Removing NoSuchAlgorithException, NoSuchProviderException from nextIdentifier(boolean secure) Revision Changes Path 1.5 +1 -3 jakarta-commons-sandbox/id/src/java/org/apache/commons/id/uuid/VersionFourGenerator.java Index: VersionFourGenerator.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/id/src/java/org/apache/commons/id/uuid/VersionFourGenerator.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- VersionFourGenerator.java 2 May 2004 08:07:23 -0000 1.4 +++ VersionFourGenerator.java 2 May 2004 08:51:54 -0000 1.5 @@ -82,10 +82,8 @@ * * @param secure indicates whether or not to use SecureRandom in generating the random bits. * @return a new version four UUID that was generated by either a Random or SecureRandom. - * @throws NoSuchAlgorithmException thrown if the secure option is true and the PRNG algorithm is not available. - * @throws NoSuchProviderException thrown if the secure option is true and the PRNG provider package is not available. */ - public Object nextIdentifier(boolean secure) throws NoSuchAlgorithmException, NoSuchProviderException { + public Object nextIdentifier(boolean secure) { if (secure) { return nextUUID(true); } --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org