com.funambol.syncml.spds
Class SyncException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.funambol.util.CodedException
                  extended by com.funambol.syncml.spds.SyncException
All Implemented Interfaces:
java.io.Serializable

public class SyncException
extends com.funambol.util.CodedException

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

See Also:
Serialized Form

Field Summary
static int ACCESS_ERROR
          Error accessing a remote resource
static int AUTH_ERROR
          Authentication error from remote server
static int BACKEND_ERROR
          Processing error in the backend connector
static int CLIENT_ERROR
          Generic error caused by the client
static int SERVER_BUSY
          Server busy: another sync may be in progress
static int SERVER_ERROR
          Generic server error
 
Fields inherited from class com.funambol.util.CodedException
CONCURRENCE_ERROR, LIMIT_ERROR, MEMORY_ERROR, STORAGE_ERROR
 
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 com.funambol.util.CodedException
getCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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

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
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 © 2006 Funambol.