InvalidMajorVersionException
public
final
class
InvalidMajorVersionException
extends IkeProtocolException
java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | android.net.ipsec.ike.exceptions.IkeException | ||||
↳ | android.net.ipsec.ike.exceptions.IkeProtocolException | ||||
↳ | android.net.ipsec.ike.exceptions.InvalidMajorVersionException |
This exception is thrown when major version of an inbound message is higher than 2.
Summary
Inherited constants |
---|
Public constructors | |
---|---|
InvalidMajorVersionException(byte version)
Construct a instance of InvalidMajorVersionException Except for testing, IKE library users normally do not instantiate this object themselves
but instead get a reference via |
Public methods | |
---|---|
byte
|
getMajorVersion()
Return the major version included in this exception. |
Inherited methods | |
---|---|
Public constructors
InvalidMajorVersionException
public InvalidMajorVersionException (byte version)
Construct a instance of InvalidMajorVersionException
Except for testing, IKE library users normally do not instantiate this object themselves
but instead get a reference via IkeSessionCallback
or ChildSessionCallback
.
Parameters | |
---|---|
version |
byte : the major version in received packet |
Public methods
getMajorVersion
public byte getMajorVersion ()
Return the major version included in this exception.
Returns | |
---|---|
byte |
the major version |