<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:18 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-884] Create a finer-grained exception hierarchy and use it consistently</title>
                <link>https://jira.mongodb.org/browse/JAVA-884</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;It&apos;s currently rather difficult to handle exceptions thrown by the driver.  The driver throws MongoException subclasses like Network in some cases, but not in all cases that it seems like it should.  And it throws the generic MongoException in many cases, making it difficult to distinguish.  This is particularly important when clients are trying to use the exception type to determine a course of action, like whether to attempt a retry.&lt;/p&gt;

&lt;p&gt;The goal of this ticket is to create a more fine-grained exception hierarchy and to use it consistently.&lt;/p&gt;</description>
                <environment></environment>
        <key id="82734">JAVA-884</key>
            <summary>Create a finer-grained exception hierarchy and use it consistently</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Jul 2013 13:47:27 +0000</created>
                <updated>Wed, 31 Jan 2018 19:45:40 +0000</updated>
                            <resolved>Wed, 31 Jan 2018 19:45:40 +0000</resolved>
                                                                    <component>API</component>
                    <component>Error Handling</component>
                                        <votes>3</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1791019" author="jeff.yemin" created="Wed, 31 Jan 2018 19:45:40 +0000"  >&lt;p&gt;In the absence of more specific issues with the 3.x exception hierarchy, closing this as Fixed.&lt;/p&gt;</comment>
                            <comment id="851065" author="jeff.yemin" created="Fri, 13 Mar 2015 01:39:28 +0000"  >&lt;p&gt;A lot of work has been done on this in 3.0 but leaving the ticket open to note that it warrants further review.&lt;/p&gt;</comment>
                            <comment id="384004" author="permans" created="Thu, 18 Jul 2013 14:54:58 +0000"  >&lt;p&gt;Thanks for filing the ticket, Jeff. Getting our retry logic &quot;just right&quot; has been a series of trial and error experiments. It would be great if there was a best practice to start with and having a clean exception hierarchy would be a great first step.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrg9zb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8516</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>