ee/src/main/java/org/jboss/as/ee/structure/EJBClientDescriptor10Parser.java
protected static void unexpectedElement(final XMLExtendedStreamReader reader) throws XMLStreamException {
        throw EeLogger.ROOT_LOGGER.unexpectedElement(reader.getName(), reader.getLocation());
    }
protected static void unexpectedElement(final XMLExtendedStreamReader reader) throws XMLStreamException {
        throw EeLogger.ROOT_LOGGER.unexpectedElement(reader.getName(), reader.getLocation());
    }
Throws a XMLStreamException for the unexpected element that was encountered during the parse

@param reader the stream reader
@throws XMLStreamException