com.sap.cds.jdbc.h2.H2ExceptionAnalyzer Maven / Gradle / Ivy
The newest version!
/*******************************************************************
* © 2020 SAP SE or an SAP affiliate company. All rights reserved. *
*******************************************************************/
package com.sap.cds.jdbc.h2;
import java.sql.SQLException;
import com.sap.cds.jdbc.generic.GenericExceptionAnalyzer;
public class H2ExceptionAnalyzer extends GenericExceptionAnalyzer {
@Override
public boolean isLockTimeout(SQLException ex) {
return ex.getErrorCode() == 50200;
}
}