Home > Back-end >  Methods after throws the Exception, the return value is what?
Methods after throws the Exception, the return value is what?

Time:10-11

In the method throws the Exception, immediately dropped out of the way, did not have a chance to write the return value, that in this case the return value is the default value of type? I return type is a Boolean, for example, the return value is false?
I need to get the exceptions, and at the same time in call return values for the next step of processing,

CodePudding user response:

This just threw the exception continue to upgrade, calls its methods won't say what the default return value, no abnormal end directly handle the exception program, equivalent to jilt pot, anyway, always someone to deal with
  • Related