adding more infomation to exceptions