Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 69889 invoked from network); 12 May 2009 10:28:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 May 2009 10:28:45 -0000 Received: (qmail 72626 invoked by uid 500); 12 May 2009 10:28:45 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 72547 invoked by uid 500); 12 May 2009 10:28:45 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 72538 invoked by uid 99); 12 May 2009 10:28:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2009 10:28:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2009 10:28:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 195F32388975; Tue, 12 May 2009 10:28:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r773840 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java Date: Tue, 12 May 2009 10:28:20 -0000 To: commits@jackrabbit.apache.org From: angela@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090512102821.195F32388975@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: angela Date: Tue May 12 10:28:20 2009 New Revision: 773840 URL: http://svn.apache.org/viewvc?rev=773840&view=rev Log: JCR-1104: JSR 283 support - fix exception message - add TODO tag Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java?rev=773840&r1=773839&r2=773840&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java Tue May 12 10:28:20 2009 @@ -190,7 +190,7 @@ // TODO: Is this the correct way to handle BigDecimal conversion return new BigDecimal(getInternalString()); } catch (NumberFormatException e) { - throw new ValueFormatException("conversion to double failed", e); + throw new ValueFormatException("conversion to Decimal failed", e); } } @@ -221,6 +221,7 @@ public Binary getBinary() throws ValueFormatException, IllegalStateException, RepositoryException { + // TODO throw new UnsupportedRepositoryOperationException("JCR-2056"); }