[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #11415 [Orbot]: jtorctl: Throw checked exceptions instead of unchecked exceptions
#11415: jtorctl: Throw checked exceptions instead of unchecked exceptions
-------------------------+-----------------------
Reporter: akwizgran | Owner: n8fr8
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Orbot | Version:
Keywords: | Actual Points:
Parent ID: #11414 | Points:
-------------------------+-----------------------
jtorctl throws unchecked RuntimeExceptions if it receives an error
response or malformed response from Tor - users of the library have to
catch these without being warned by the API. This patch converts jtorctl's
RuntimeException subclasses into IOException subclasses. This is safer for
users of the library and better conveys what's happened (an IO error).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11415>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs