Adding an Exception and constant file