presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/util/DatabaseUtil.java/DatabaseUtil/isTransactionCacheFullError
class DatabaseUtil:    public static boolean isTransactionCacheFullError(Exception e)
    {
        return mySqlErrorCodeMatches(e, ER_TRANS_CACHE_FULL);
    }