如何解决这个try catch异常处理?

时间:2019-06-27 11:50:56

标签: java exception

我正在处理一项任务,而我只是搞砸了这种异常处理。

我有一个叫做voidTransaction的方法,其中有一个try catch,在catch部分中,设置为TransactionResponse对象的值集(变量称为voidResponse)。 这样该方法被另一个尝试捕获的新方法调用。我想访问voidResponse并获取结果。

$ youtube-data \
--channel=UCzoVCacndDCfGDf41P-z0iA --videos \
--max-results=10 --page=- \
--table
_0ij8vY2gzE  2019-06-27T02:44:21.000Z  Music and Art with ML by Monica Dincu...
Vk9bPDaZELQ  2019-06-26T12:10:11.000Z  Block, unblock, block! How ad blocker...
ZMZMMuXRFcE  2019-06-26T02:14:07.000Z  Web Components and the AOM by Léonie ...
GhRE3rML9t4  2019-06-25T14:14:55.000Z  CSS Houdini & The Future of Styling b...
JybbgAz3meQ  2019-06-24T22:54:47.000Z  How to Calculate the Phase of the Moo...
UM-RhglTyKA  2019-06-24T22:54:47.000Z  GraphQL, the Domain Way - Thais Corre...
g3jwd0kAIDU  2019-06-24T22:54:47.000Z  Improving React Native Performance in...
I4ugdJRCj9Q  2019-06-24T22:54:47.000Z  Building Up the Electron Project: Tea...
el9fhSbby5E  2019-06-24T22:54:46.000Z  JavaScript is AsynchroWAT? - Crystal ...
NdKAUXAvt8E  2019-06-24T22:54:46.000Z  The Teenage Mutant Ninja Turtle Guide...

0 个答案:

没有答案