SyncException.SyncError

public static final enum SyncException.SyncError
extends Enum<SyncException.SyncError>

java.lang.Object
   ↳ java.lang.Enum<com.android.ddmlib.SyncException.SyncError>
     ↳ com.android.ddmlib.SyncException.SyncError


Summary

Enum values

SyncException.SyncError  BUFFER_OVERRUN

receiving too much data from the remove device at once 

SyncException.SyncError  CANCELED

canceled transfer 

SyncException.SyncError  FILE_READ_ERROR

error while reading local file. 

SyncException.SyncError  FILE_WRITE_ERROR

error while writing local file. 

SyncException.SyncError  LOCAL_IS_DIRECTORY

attempting to push a directory. 

SyncException.SyncError  NO_DIR_TARGET

Result code when attempting to pull multiple into a directory that does not exist. 

SyncException.SyncError  NO_LOCAL_FILE

attempting to push a non-existent file. 

SyncException.SyncError  NO_REMOTE_OBJECT

unknown remote object during a pull 

SyncException.SyncError  REMOTE_IS_FILE

when the target path of a multi file push is a file. 

SyncException.SyncError  REMOTE_PATH_ENCODING

wrong encoding on the remote path. 

SyncException.SyncError  REMOTE_PATH_LENGTH

remote path that is too long. 

SyncException.SyncError  TARGET_IS_FILE

Result code when attempting to pull multiple files into a file 

SyncException.SyncError  TRANSFER_PROTOCOL_ERROR

Transfer error 

Public methods

String getMessage()
static SyncException.SyncError valueOf(String name)
static final SyncError[] values()

Enum values

BUFFER_OVERRUN

public static final SyncException.SyncError BUFFER_OVERRUN

receiving too much data from the remove device at once

CANCELED

public static final SyncException.SyncError CANCELED

canceled transfer

FILE_READ_ERROR

public static final SyncException.SyncError FILE_READ_ERROR

error while reading local file.

FILE_WRITE_ERROR

public static final SyncException.SyncError FILE_WRITE_ERROR

error while writing local file.

LOCAL_IS_DIRECTORY

public static final SyncException.SyncError LOCAL_IS_DIRECTORY

attempting to push a directory.

NO_DIR_TARGET

public static final SyncException.SyncError NO_DIR_TARGET

Result code when attempting to pull multiple into a directory that does not exist.

NO_LOCAL_FILE

public static final SyncException.SyncError NO_LOCAL_FILE

attempting to push a non-existent file.

NO_REMOTE_OBJECT

public static final SyncException.SyncError NO_REMOTE_OBJECT

unknown remote object during a pull

REMOTE_IS_FILE

public static final SyncException.SyncError REMOTE_IS_FILE

when the target path of a multi file push is a file.

REMOTE_PATH_ENCODING

public static final SyncException.SyncError REMOTE_PATH_ENCODING

wrong encoding on the remote path.

REMOTE_PATH_LENGTH

public static final SyncException.SyncError REMOTE_PATH_LENGTH

remote path that is too long.

TARGET_IS_FILE

public static final SyncException.SyncError TARGET_IS_FILE

Result code when attempting to pull multiple files into a file

TRANSFER_PROTOCOL_ERROR

public static final SyncException.SyncError TRANSFER_PROTOCOL_ERROR

Transfer error

Public methods

getMessage

public String getMessage ()

Returns
String

valueOf

public static SyncException.SyncError valueOf (String name)

Parameters
name String

Returns
SyncException.SyncError

values

public static final SyncError[] values ()

Returns
SyncError[]