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 of BGPDocumentedException and BGPTreatAsWithdrawException.
See Also:
  • Method Details

    • 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