use CommandClassNotFoundException instead of normal exception