creation of exception classes for the services.