public void Resize (double w, double h) { try { pattern.Resize (w, h); } catch (Exception ex) { throw DbusExceptionTranslator.Translate (ex); } }