Remove unuseful code
Add throw keyword before createNotFoundException