public static DbmsType findDbmsType(DbmsHandlerComponent dbmsHandlerComponent, Dbms dbms) {
        return dbmsHandlerComponent.findByName(dbms.getTypeName())
            .orElseThrow(() -> new SpeedmentException(
                "Could not find any installed DbmsType named '" + 
                dbms.getTypeName() + "'."
            ));
    }
Locates the {@link DbmsType} corresponding to the specified {@link Dbms},
or throws a {@code SpeedmentException} if it can not be found.

@param dbmsHandlerComponent  the handler to look in
@param dbms                  the dbms to look for
@return                      the dbms type of that dbms
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/util/DatabaseUtil.java