Detect com.ibm.websphere.ce.cm.ConnectionWaitTimeoutException API

While the WebSphere Common Exception APIs (com.ibm.websphere.ce.cm) are generally unavailable on Liberty, the com.ibm.websphere.ce.cm.ConnectionWaitTimeoutException class was exposed as an API in WebSphere Liberty in 20.0.0.9. To use the ConnectionWaitTimeoutException class, make sure you are using WebSphere Liberty 20.0.0.9 or later and have the heritageAPIs-1.0 feature configured. The heritageAPIs-1.0 feature is not available in Open Liberty.

For Open Liberty or if you do not want to use the heritage APIs, to migrate the ConnectionWaitTImeoutException, you can use the JDBC provided exception java.sql.SQLTransientConnectionException. See com.ibm.websphere.ce.cm.ConnectionWaitTimeoutException for more information.

For information about other APIs and SPIs that are not supported on Liberty, see Some APIs and SPIs are not available on Liberty.