- Enclosing class:
- TdApi
Returns the specified error and ensures
that the Error object is used; for
testing only. Can be called synchronously.
Returns
Error
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The error to be returned. -
Constructor Summary
ConstructorDescriptionReturns the specified error and ensures that the Error object is used; for testing only.TestReturnError
(TdApi.Error error) Returns the specified error and ensures that the Error object is used; for testing only.TestReturnError
(DataInput input) Returns the specified error and ensures that the Error object is used; for testing only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
error
The error to be returned. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
TestReturnError
public TestReturnError()Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously. ReturnsError
-
TestReturnError
Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously. ReturnsError
- Parameters:
error
- Error The error to be returned.
-
TestReturnError
Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously. ReturnsError
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-