Added exceptions class