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
public abstract class AbstractBGPException extends Exception
Abstract class supporting common aspects ofBGPDocumentedException
andBGPTreatAsWithdrawException
.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte @NonNull []
getData()
Returns data associated with this error.BGPError
getError()
Returns specific documented error.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getError
public final BGPError getError()
Returns specific documented error.- Returns:
- documented error
-
getData
public final byte @NonNull [] getData()
Returns data associated with this error.- Returns:
- byte array data
-
-