com.google.android.gtalkservice.ConnectionError
ConnectionError
contains error codes that can occur while making a GTalk connection.
Summary
Constants
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
public
static
final
int
AUTHENTICATION_FAILED
XMPP authentication failed
Constant Value:
4
(0x00000004)
public
static
final
int
CONNECTION_FAILED
connection failed
Constant Value:
2
(0x00000002)
public
static
final
int
NONE
no error
Constant Value:
0
(0x00000000)
public
static
final
int
NO_NETWORK
network not available
Constant Value:
1
(0x00000001)
public
static
final
int
SERVER_FAILED
server failed to respond
Constant Value:
5
(0x00000005)
public
static
final
int
UNKNOWN
unknown error
Constant Value:
6
(0x00000006)
public
static
final
int
UNKNOWN_HOST
unknown host, usually caused by DNS lookup failure
Constant Value:
3
(0x00000003)
public
static
final
String
UNKNOWN_HOST_ERROR_STR
Constant Value:
"host-unknown"
Public Methods
public
static
boolean
isAuthenticationError(int error)
public
static
boolean
isNetworkError(int error)
public
static
final
String
toString(int state)