Arden: Exception messages and toXML function