public class OspfParseException
extends java.lang.Exception
| Constructor and Description |
|---|
OspfParseException()
Creates a new OSPF exception.
|
OspfParseException(byte errorCode,
byte errorSubCode)
Creates a new OSPF exception from error code and error sub code.
|
OspfParseException(java.lang.String message)
Creates a new OSPF exception for the given message.
|
OspfParseException(java.lang.String message,
java.lang.Throwable cause)
Creates a new OSPF exception based on the given arguments.
|
OspfParseException(java.lang.Throwable cause)
Creates a new OSPF exception from throwable instance.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
errorCode()
Returns error code for this exception.
|
byte |
errorSubCode()
Returns error sub code for this exception.
|
java.lang.String |
toString() |
public OspfParseException()
public OspfParseException(java.lang.String message,
java.lang.Throwable cause)
message - the detail of exception in stringcause - underlying cause of the errorpublic OspfParseException(java.lang.String message)
message - the detail of exception in stringpublic OspfParseException(java.lang.Throwable cause)
cause - underlying cause of the errorpublic OspfParseException(byte errorCode,
byte errorSubCode)
errorCode - error code of OSPF messageerrorSubCode - error sub code of OSPF messagepublic byte errorCode()
public byte errorSubCode()
public java.lang.String toString()
toString in class java.lang.Throwable