Implement Exception Statement in Teacher, Viewer DB Structure