162163164165166167168169170171172
} ser.endTag(NS, "metadata"); ser.endTag(NS, "event"); ser.endDocument(); ser.flush(); } catch (IllegalArgumentException e1) { throw new RuntimeException(e1); } catch (IllegalStateException e1) { throw new RuntimeException(e1);