com.funambol.syncml.spds
Class SyncException

java.lang.Object
  extended by CodedException
      extended by com.funambol.syncml.spds.SyncException
Direct Known Subclasses:
AuthenticationException, CompressedSyncException, ReadResponseException, WriteRequestException

public class SyncException
extends CodedException

This exception represents the base exception for synchronization related error conditions.


Field Summary
static int ACCESS_ERROR
          Error accessing a remote resource
static int AUTH_ERROR
          Authentication error from remote server
static int BACKEND_AUTH_ERROR
          Processing error in the backend connector
static int BACKEND_ERROR
          Processing error in the backend connector
static int CANCELLED
          The sync got cancelled
static int CLIENT_ERROR
          Generic error caused by the client
static int CONN_NOT_FOUND
          Can not open connection error
static int CONNECTION_BLOCKED_BY_USER
          User denied permission
static int DATA_NULL
          Response data null
static int DEVICE_FULL
          Remote device full
static int FORBIDDEN_ERROR
          User not authorized
static int ILLEGAL_ARGUMENT
          Malformed URL error
static int NOT_FOUND_URI_ERROR
          Source URI not found on server
static int READ_SERVER_RESPONSE_ERROR
          Network problem when reading response from server
static int SERVER_BUSY
          Server busy: another sync may be in progress
static int SERVER_CONNECTION_REQUEST_ERROR
          Network problem opening connection
static int SERVER_ERROR
          Generic server error
static int SMART_SLOW_SYNC_UNSUPPORTED
          Server does not support smart slow sync
static int WRITE_SERVER_REQUEST_ERROR
          Network problem when reading response from server
 
Constructor Summary
SyncException(int code, java.lang.String msg)
          Constructs an instance of SyncException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLIENT_ERROR

public static final int CLIENT_ERROR
Generic error caused by the client

See Also:
Constant Field Values

AUTH_ERROR

public static final int AUTH_ERROR
Authentication error from remote server

See Also:
Constant Field Values

ACCESS_ERROR

public static final int ACCESS_ERROR
Error accessing a remote resource

See Also:
Constant Field Values

CONN_NOT_FOUND

public static final int CONN_NOT_FOUND
Can not open connection error

See Also:
Constant Field Values

DATA_NULL

public static final int DATA_NULL
Response data null

See Also:
Constant Field Values

ILLEGAL_ARGUMENT

public static final int ILLEGAL_ARGUMENT
Malformed URL error

See Also:
Constant Field Values

DEVICE_FULL

public static final int DEVICE_FULL
Remote device full

See Also:
Constant Field Values

SERVER_ERROR

public static final int SERVER_ERROR
Generic server error

See Also:
Constant Field Values

SERVER_BUSY

public static final int SERVER_BUSY
Server busy: another sync may be in progress

See Also:
Constant Field Values

BACKEND_ERROR

public static final int BACKEND_ERROR
Processing error in the backend connector

See Also:
Constant Field Values

BACKEND_AUTH_ERROR

public static final int BACKEND_AUTH_ERROR
Processing error in the backend connector

See Also:
Constant Field Values

FORBIDDEN_ERROR

public static final int FORBIDDEN_ERROR
User not authorized

See Also:
Constant Field Values

NOT_FOUND_URI_ERROR

public static final int NOT_FOUND_URI_ERROR
Source URI not found on server

See Also:
Constant Field Values

READ_SERVER_RESPONSE_ERROR

public static final int READ_SERVER_RESPONSE_ERROR
Network problem when reading response from server

See Also:
Constant Field Values

WRITE_SERVER_REQUEST_ERROR

public static final int WRITE_SERVER_REQUEST_ERROR
Network problem when reading response from server

See Also:
Constant Field Values

SERVER_CONNECTION_REQUEST_ERROR

public static final int SERVER_CONNECTION_REQUEST_ERROR
Network problem opening connection

See Also:
Constant Field Values

CONNECTION_BLOCKED_BY_USER

public static final int CONNECTION_BLOCKED_BY_USER
User denied permission

See Also:
Constant Field Values

SMART_SLOW_SYNC_UNSUPPORTED

public static final int SMART_SLOW_SYNC_UNSUPPORTED
Server does not support smart slow sync

See Also:
Constant Field Values

CANCELLED

public static final int CANCELLED
The sync got cancelled

See Also:
Constant Field Values
Constructor Detail

SyncException

public SyncException(int code,
                     java.lang.String msg)
Constructs an instance of SyncException with the specified detail message.

Parameters:
code - the error code.
msg - the detail message.


Copyright © 2001-2009 Funambol.