Custom exception class added.