added custom exception class
added custom exception class