In the next section, you will code your own exception handler to handle the SQLException.
在下一节中,您将对异常处理程序进行编码,以便处理SQLException异常。
Handle each exception specifically.
专门处理每个异常。
The proper way to handle this is an exception.
处理它的正确的方法是捕获异常。
Your code needs to handle this exception.
您的代码需要处理该异常。
Therefore, you provide your own exception hierarchy that you can handle in single place.
因此,你提供你自己的异常层次结构,您可以在单一地点处理。
Therefore, you provide your own exception hierarchy that you can handle in single place.
因此,你提供你自己的异常层次结构,您可以在单一地点处理。
应用推荐