Class BGPDocumentedException

All Implemented Interfaces:
Serializable

public final class BGPDocumentedException extends AbstractBGPException
There are several errors documented in RFC4271 or in draft, that have specific meaning for the BGP. This exception is used, when any of those errors occurs.
See Also:
  • Constructor Details

    • BGPDocumentedException

      public BGPDocumentedException(BGPError error)
      Used when an error occurred that is described in an RFC or a draft.
      Parameters:
      error - specific documented error
    • BGPDocumentedException

      public BGPDocumentedException(String message, BGPError error)
      Used when an error occurred that is described in an RFC or a draft.
      Parameters:
      message - message bound with this exception
      error - specific documented error
    • BGPDocumentedException

      public BGPDocumentedException(String message, BGPError error, Exception cause)
      Used when an error occurred that is described in an RFC or a draft.
      Parameters:
      message - message bound with this exception
      error - specific documented error
      cause - cause for the error
    • BGPDocumentedException

      public BGPDocumentedException(String message, BGPError error, byte[] data)
      Used when an error occurred that is described in an RFC or a draft.
      Parameters:
      message - message bound with this exception
      error - specific documented error
      data - data associated with the error
    • BGPDocumentedException

      public BGPDocumentedException(String message, BGPError error, byte[] data, Exception cause)
      Used when an error occurred that is described in an RFC or a draft.
      Parameters:
      message - message bound with this exception
      error - specific documented error
      data - data associated with the error
      cause - cause for the error
    • BGPDocumentedException

      public BGPDocumentedException(BGPTreatAsWithdrawException cause)
      Used when an error occurred that is described in an RFC or a draft.
      Parameters:
      cause - cause for the error
  • Method Details