close #50 Manage exception into RandomPic class.