'Why does OperationTimedOutException extend RuntimeException in the Cassandra Java driver?

I have an Apache Cassandra cluster on my dev environment, and I am doing some testing on this Cassandra cluster.

During the test, I found some "OperationTimedOutException" messages in the log.

According to the documentation: https://docs.datastax.com/en/drivers/java/3.6/com/datastax/driver/core/exceptions/OperationTimedOutException.html), this class is a subclass of RuntimeException.

But what I know is :

RuntimeException: It means a software defect(ex: bug), and should be avoided at development time.

OperationTimedOutException: It's a client side exception. It means client can't get response from server, causing time out. This situation can't be controlled at development time, so, it's not a software design defect.

If what I understand above is correct, why OperationTimedOutException extends RuntimeException?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source