Unreachable catch block for SoaModelException. This exception is never thrown from the try statement
2018-01-10 17:23
615 查看
今天在出现这种情况
处理方式:
1、先将异常改为Exception,看下是否还会有这个问题,如果还有,说明这个异常是多余的,
直接将try{}catch(){}给去掉,
2、如果修改成Exception 后不会报错,就将这个异常改成Exception
处理方式:
1、先将异常改为Exception,看下是否还会有这个问题,如果还有,说明这个异常是多余的,
直接将try{}catch(){}给去掉,
2、如果修改成Exception 后不会报错,就将这个异常改成Exception
相关文章推荐
- Unreachable catch block for SQLException. This exception is never thrown from the try statement body
- Unreachable catch block for IOException. This exception is never thrown from the try statement body
- Unreachable catch block for IOException. This exception is never thrown from the try statement body
- Unreachable catch block for UserExistException. This exception is never thrown from the try statemen
- exception org.json.JSONexception is never thrown in corresponding try block
- A Problem is Preventing Windows from Accurately Checking the License for this Computer
- Linux服务器上日志报com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1783 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
- 解决 The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- MySQL报错:The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- This file is based on the Microsoft Data Access Application Block for .NET
- mysql错误:The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement解决方法
- The MySQL server is running with the --secure-file-priv option so it cannot execute this statement解决
- Exception: This server is not the leader for that topic-partition.
- ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
- [Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement]错误解决
- The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- 1209 - The MySQL server is running with the --read-only option so it cannot execute this statement
- Windows sql语句正则匹配导出数据到本地 The MySQL server is running with the --secure-file-priv option so it cannot execute this statement