Class AbstractBGPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.protocol.bgp.parser.AbstractBGPException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BGPDocumentedException
,BGPTreatAsWithdrawException
Abstract class supporting common aspects of
BGPDocumentedException
and BGPTreatAsWithdrawException
.- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getError
Returns specific documented error.- Returns:
- documented error
-
getData
public final byte @NonNull [] getData()Returns data associated with this error.- Returns:
- byte array data
-