BUG-113: Start rework of ParameterRegistry
[bgpcep.git] / bgp / parser-spi / src / main / java / org / opendaylight / protocol / bgp / parser / spi / ParameterParser.java
index 6b4c836dca13cd81f3c18def22115f3290775be0..51c6edb6478b70f84fe6975aa53dd1a71b34b9d8 100644 (file)
@@ -7,9 +7,10 @@
  */
 package org.opendaylight.protocol.bgp.parser.spi;
 
+import org.opendaylight.protocol.bgp.parser.BGPDocumentedException;
 import org.opendaylight.protocol.bgp.parser.BGPParsingException;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130918.open.BgpParameters;
 
 public interface ParameterParser {
-       public BgpParameters parseParameter(final byte[] bytes) throws BGPParsingException;
+       public BgpParameters parseParameter(final byte[] bytes) throws BGPParsingException, BGPDocumentedException;
 }