Changed some exception base classes