public final class

OfflineODataException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.sap.cloud.mobile.odata.offline.OfflineODataException

Class Overview

The class represents an exception occurred at OfflineODataProvider operation.

Summary

Public Constructors
OfflineODataException(int errorCode, String message)
Construct an OfflineODataException
Public Methods
int getErrorCode()
Returns the error code of the error.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public OfflineODataException (int errorCode, String message)

Construct an OfflineODataException

Parameters
errorCode the code that identifies the error.
message the text from the error.

Public Methods

public int getErrorCode ()

Returns the error code of the error.

Returns
  • the error code of the error.