Got rid of MWException usage in SnakObject

Change-Id: I72330660937cca188921d9cd12ae9a14daee625f
Merge "Got rid of MWException usage in SnakObject"