So I have a block of code that contains a method which allows users to search for a record\'s value from the database, If the record exist an exception will be
method