catch (Exception::CLRError) { exception = CLRInterop::getLastException(); if (exception != null) { throw error(exception.ToString()); } }