public class BgpParseException extends Exception
| Constructor and Description |
|---|
BgpParseException()
Default constructor to create a new exception.
|
BgpParseException(byte errorCode,
byte errorSubCode,
org.jboss.netty.buffer.ChannelBuffer data)
Constructor to create exception from error code and error subcode.
|
BgpParseException(String message)
Constructor to create exception from message.
|
BgpParseException(String message,
Throwable cause)
Constructor to create exception from message and cause.
|
BgpParseException(Throwable cause)
Constructor to create exception from cause.
|
| Modifier and Type | Method and Description |
|---|---|
org.jboss.netty.buffer.ChannelBuffer |
getData()
Returns error data for this exception.
|
byte |
getErrorCode()
Returns errorcode for this exception.
|
byte |
getErrorSubCode()
Returns error Subcode for this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BgpParseException()
public BgpParseException(String message, Throwable cause)
message - the detail of exception in stringcause - underlying cause of the errorpublic BgpParseException(String message)
message - the detail of exception in stringpublic BgpParseException(Throwable cause)
cause - underlying cause of the errorpublic BgpParseException(byte errorCode,
byte errorSubCode,
org.jboss.netty.buffer.ChannelBuffer data)
errorCode - error code of BGP messageerrorSubCode - error subcode of BGP messagedata - error data of BGP messagepublic byte getErrorCode()
public byte getErrorSubCode()
public org.jboss.netty.buffer.ChannelBuffer getData()
Copyright © 2016. All rights reserved.