Class ParameterLengthOverflowException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opendaylight.protocol.bgp.parser.spi.ParameterLengthOverflowException
-
- All Implemented Interfaces:
Serializable
@Beta public final class ParameterLengthOverflowException extends Exception
Exception reported when aParameterSerializer
detects its output does not fit 255 bytes and hence cannot be held in plain RFC4271 OPEN message.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParameterLengthOverflowException(String message)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
throwIf(boolean expression, String format, Object... args)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ParameterLengthOverflowException
public ParameterLengthOverflowException(String message)
-
-
Method Detail
-
throwIf
public static void throwIf(boolean expression, String format, Object... args) throws ParameterLengthOverflowException
- Throws:
ParameterLengthOverflowException
-
-