[JAVA-2343] Improve Decimal128 Javadoc Created: 12/Oct/16  Updated: 31/Oct/16  Resolved: 31/Oct/16

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 3.4.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The Decimal128(BigDecimal) constructor and the Decimal128.bigDecimalValue() method should document the conditions under which an exception will be thrown due to incompatibilities between the two types.

In addition, links should be provided to the relevant specifications and articles describing Decimal128.



 Comments   
Comment by Githook User [ 31/Oct/16 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-2343: Improve the Decimal128 Javadoc

Add links to relevant articles and specifications
Document the conditions under which the bigDecimalValue method will throw an ArithmeticException
Document the conditions under which factory methods and constructors with throw a NumberFormatException
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/ef25738b43fc1a6db6978bbaaf0d7795476b79c7

Generated at Thu Feb 08 08:56:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.