adding custom exception class