public class

RequestFailedException

extends ClientException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.commsignia.v2x.client.exception.ClientException
         ↳ com.commsignia.v2x.client.exception.RequestFailedException

Class Overview

Signals that an exception has failed. Contains the sequence number and error code for the failed command.

Summary

Public Constructors
RequestFailedException(long seq, long errorCode)
Create an instance with the specified sequence number and error code
Public Methods
boolean equals(Object o)
long getErrorCode()
Returns the error code for the failed request
long getSeq()
Returns the sequence number of the failed request
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public RequestFailedException (long seq, long errorCode)

Create an instance with the specified sequence number and error code

Parameters
seq sequence number
errorCode error code

Public Methods

public boolean equals (Object o)

public long getErrorCode ()

Returns the error code for the failed request

Returns
  • error code

public long getSeq ()

Returns the sequence number of the failed request

Returns
  • sequence number

public int hashCode ()