public void createCatalog(CreateCatalogStmt stmt) throws DdlException {
        createCatalog(stmt.getCatalogType(), stmt.getCatalogName(), stmt.getComment(), stmt.getProperties());
    }
@Test
    public void testCreateExceptionMsg() {
        CatalogMgr catalogMgr = GlobalStateMgr.getCurrentState().getCatalogMgr();
        Map<String, String> config = new HashMap<>();

        config.put("type", "jdbc");

        try {
            catalogMgr.createCatalog("jdbc", "a", "", config);
            Assert.fail();
        } catch (DdlException e) {
            Assert.assertTrue(e.getMessage().contains("Missing"));
        }

        config.put("type", "test_unsupported");

        Assert.assertThrows(DdlException.class, () -> {
            catalogMgr.createCatalog("test_unsupported", "b", "", config);
        });
    }