Class BGPDocumentedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.protocol.bgp.parser.AbstractBGPException
org.opendaylight.protocol.bgp.parser.BGPDocumentedException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionBGPDocumentedException
(String message, BGPError error) Used when an error occurred that is described in an RFC or a draft.BGPDocumentedException
(String message, BGPError error, byte[] data) Used when an error occurred that is described in an RFC or a draft.BGPDocumentedException
(String message, BGPError error, byte[] data, Exception cause) Used when an error occurred that is described in an RFC or a draft.BGPDocumentedException
(String message, BGPError error, Exception cause) Used when an error occurred that is described in an RFC or a draft.BGPDocumentedException
(BGPError error) Used when an error occurred that is described in an RFC or a draft.Used when an error occurred that is described in an RFC or a draft. -
Method Summary
Modifier and TypeMethodDescriptionstatic BGPDocumentedException
badMessageLength
(String message, int length) Methods inherited from class org.opendaylight.protocol.bgp.parser.AbstractBGPException
getData, getError
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BGPDocumentedException
Used when an error occurred that is described in an RFC or a draft.- Parameters:
error
- specific documented error
-
BGPDocumentedException
Used when an error occurred that is described in an RFC or a draft.- Parameters:
message
- message bound with this exceptionerror
- specific documented error
-
BGPDocumentedException
Used when an error occurred that is described in an RFC or a draft.- Parameters:
message
- message bound with this exceptionerror
- specific documented errorcause
- cause for the error
-
BGPDocumentedException
Used when an error occurred that is described in an RFC or a draft.- Parameters:
message
- message bound with this exceptionerror
- specific documented errordata
- data associated with the error
-
BGPDocumentedException
Used when an error occurred that is described in an RFC or a draft.- Parameters:
message
- message bound with this exceptionerror
- specific documented errordata
- data associated with the errorcause
- cause for the error
-
BGPDocumentedException
Used when an error occurred that is described in an RFC or a draft.- Parameters:
cause
- cause for the error
-
-
Method Details
-
badMessageLength
-