Added custom exception class and implemented on logic classes to throw error to site