[metrics-bugs] #22476 [Metrics/metrics-lib]: Replace ImplementationNotAccessibleException with RuntimeException

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 5 17:30:59 UTC 2017


#22476: Replace ImplementationNotAccessibleException with RuntimeException
---------------------------------+-----------------------------------
 Reporter:  karsten              |          Owner:  metrics-team
     Type:  enhancement          |         Status:  new
 Priority:  Medium               |      Milestone:  metrics-lib 1.8.0
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+-----------------------------------

Comment (by iwakeh):

 Metrics-lib provides an API and an implementation.
 When there are more implementations (either by a third party or less
 likely by Metrics) the runtime exception
 `ImplementationNotAccessibleException` could be used to access another
 implementation.

 I know there are not that many implementations out there, but this is a
 useful distinction from a generic runtime exception.  So, I would like to
 keep this tiny exception.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22476#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the metrics-bugs mailing list