All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cds.jdbc.h2.H2ExceptionAnalyzer Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show 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;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy