removed imposterization check as it was removed in latest master changes, need to change that as it is the responsability of the mock maker to tell if it can be imposterized or not
raise Mockito exceptions instead of java standard classes (still it extends ObjectStreamException)