public abstract class AbstractFactory extends Object
| Constructor and Description |
|---|
AbstractFactory() |
| Modifier and Type | Method and Description |
|---|---|
MessageParseException |
mpe(OfPacketReader pkt)
Convenience method delegating to
mpe(OfPacketReader, String, Exception)
with a null message and null exception. |
MessageParseException |
mpe(OfPacketReader pkt,
Exception e)
Convenience method delegating to
mpe(OfPacketReader, String, Exception)
with a null message. |
MessageParseException |
mpe(OfPacketReader pkt,
String msg)
Convenience method delegating to
mpe(OfPacketReader, String, Exception)
with a null exception. |
MessageParseException |
mpe(OfPacketReader pkt,
String msg,
Exception e)
Returns a message parse exception with debugging information.
|
protected abstract String |
tag()
Subclasses should return a short identifying string.
|
public MessageParseException mpe(OfPacketReader pkt, String msg, Exception e)
pkt - the packet buffer being parsed at the time of the exceptionmsg - additional detail message (may be null)e - the causing exception (may be null)public MessageParseException mpe(OfPacketReader pkt, Exception e)
mpe(OfPacketReader, String, Exception)
with a null message.pkt - the packet buffer being parsed at the time of the exceptione - the causing exception (may be null)public MessageParseException mpe(OfPacketReader pkt, String msg)
mpe(OfPacketReader, String, Exception)
with a null exception.pkt - the packet buffer being parsed at the time of the exceptionmsg - additional detail message (may be null)public MessageParseException mpe(OfPacketReader pkt)
mpe(OfPacketReader, String, Exception)
with a null message and null exception.pkt - the packet buffer being parsed at the time of the exceptionprotected abstract String tag()
mpe(com.h3c.of.lib.OfPacketReader, java.lang.String, java.lang.Exception).Copyright © 2014. All Rights Reserved.