Class BGPTreatAsWithdrawException

  • All Implemented Interfaces:
    Serializable

    public final class BGPTreatAsWithdrawException
    extends AbstractBGPException
    An exception thrown when the parsing of an attribute results in treat-as-withdraw being applied to the UPDATE message, as per the rules in RFC7606 and related documents.

    This exception must not be thrown when Revised Error Handling procedures are not in effect.

    Author:
    Robert Varga
    See Also:
    Serialized Form
    • Constructor Detail

      • BGPTreatAsWithdrawException

        public BGPTreatAsWithdrawException​(@NonNull BGPError error,
                                           @NonNull String format,
                                           Object... args)
      • BGPTreatAsWithdrawException

        public BGPTreatAsWithdrawException​(@NonNull BGPError error,
                                           byte[] data,
                                           @NonNull String format,
                                           Object... args)
      • BGPTreatAsWithdrawException

        public BGPTreatAsWithdrawException​(@NonNull BGPError error,
                                           @Nullable Exception cause,
                                           @NonNull String format,
                                           Object... args)