}
}
catch (ProtocolException ex) {
log.error("Protocol error: " + ex.getMessage() + " [pri=" + facility + "." +
severity + " tag=" + tag + " pid=" + pid + "]");
throw new AxisFault("Protocol error", ex);
}
catch (IOException ex) {
throw new AxisFault("I/O error", ex);
}
OMFactory factory = new OMLinkedListImplFactory();
OMElement message = factory.createOMElement(SyslogConstants.MESSAGE);
message.addAttribute(factory.createOMAttribute(SyslogConstants.FACILITY, null, facility));