public virtual OutStream write(long x) { try { m_out.write(x); return this; } catch (System.NullReferenceException e) { if (m_out == null) throw UnsupportedErr.make(@typeof().qname() + " wraps null OutStream").val; else throw e; } }