The paper deals with a planar particle system obeying a generalized exclusion principle (EP) and governed, in the mean field approximation, by a nonlinear Schrödinger equation. We show that the EP involves a mathematically simple and physically transparent mechanism, which allows the genesis of quantum vortices in the system. We obtain in a closed form the shape of the vortices and investigate its main physical properties.