MultiSample support, throwing exceptions

MultiSample support, throwing exceptions