Subspace Classification in a Robust Framework