public interface BGExceptionConstants
BGException
.
Some BGException instances are thrown from the background sync control APIs.
Others are used as causes of the background sync error messages.BGSession
,
LogMessage
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_CONNECTIONS_PRESENT
Cannot stop the agent because active connection(s) are present
This error code is for native clients only.
|
static int |
AGENT_DEFUNCT
Sync agent is in a bad internal state
|
static int |
AGENT_DISABLED
Could not start sync agent because it is disabled
|
static int |
AGENT_NOT_RUNNING
Operation cannot be performed because sync agent is not running
This error code is for native clients only.
|
static int |
ANOTHER_INSTANCE
Cannot start sync agent because another instance is already running
This error code is for native clients only.
|
static int |
CONTROL_CONNECTION_CLOSED
Control connection to the agent is closed due to an error
This error code is for native clients only.
|
static int |
INVALID_COMMAND
Internal error: invalid command received
This error code is for native clients only.
|
static int |
INVALID_COND_SUBTYPE
Invalid subtype for a condition rule
|
static int |
INVALID_COND_TYPE
Invalid type for a condition rule
|
static int |
INVALID_DATE_FORMAT
Invalid date format in time rule
|
static int |
INVALID_EVENT_SUBTYPE
Invalid subtype for an event rule
|
static int |
INVALID_EVENT_TYPE
Invalid type for an event rule
|
static int |
INVALID_NUMERIC_PARAMETER
Internal error: invalid numeric parameter specified
This error code is for native clients only.
|
static int |
INVALID_PARAMETER
Internal error: invalid parameter specified.
|
static int |
INVALID_RULE_CLASS
Invalid rule class detected (only event and condition are allowed)
|
static int |
INVALID_RULE_SUBTYPE
Invalid rule subtype detected
|
static int |
INVALID_RULE_SUBTYPE_TYPE
Invalid rule subtype for a give rule type
|
static int |
INVALID_RULE_TYPE
Invalid rule type detected
|
static int |
INVALID_SESSION
Invalid or closed BGSession object provided
|
static int |
INVALID_STRING_PARAMETER
Internal error: invalid string parameter specified
This error code is for native clients only.
|
static int |
INVALID_WAIT_STATUS
Invalid sync agent status to wait for.
|
static int |
NO_BG_PUBS
Cannot start or resume sync agent because no background sync
publications are found on the client.
|
static int |
OPERATION_NOT_ALLOWED
Control operation not allowed with sync agent being in a given state
|
static int |
PAUSE_FAILED
Failed to pause sync agent
|
static int |
READER_CANCELED
Internal error: message reader was canceled from another thread
This error code is for native clients only.
|
static int |
RESUME_FAILED
Failed to resume sync agent
|
static int |
SQL_RULE_MISSING_QUERY
Missing query string for SQL rule
|
static int |
START_FAILED
Failed to start sync agent
|
static int |
STOP_FAILED
Failed to stop sync agent
|
static int |
TOO_MANY_READERS
Cannot create message reader because the allowed maximum of running
readers will be exceeded
This error code is for native clients only.
|
static int |
UNSUPPORTED
Operation is not supported
|
static int |
WAIT_TIMEOUT
Control operation has timed out
This error code is for native clients only.
|
static final int ACTIVE_CONNECTIONS_PRESENT
static final int AGENT_DEFUNCT
static final int AGENT_DISABLED
static final int AGENT_NOT_RUNNING
static final int ANOTHER_INSTANCE
static final int CONTROL_CONNECTION_CLOSED
static final int INVALID_COMMAND
static final int INVALID_COND_SUBTYPE
static final int INVALID_COND_TYPE
static final int INVALID_DATE_FORMAT
static final int INVALID_EVENT_SUBTYPE
static final int INVALID_EVENT_TYPE
static final int INVALID_NUMERIC_PARAMETER
static final int INVALID_PARAMETER
static final int INVALID_RULE_CLASS
static final int INVALID_RULE_SUBTYPE
static final int INVALID_RULE_SUBTYPE_TYPE
static final int INVALID_RULE_TYPE
static final int INVALID_SESSION
static final int INVALID_STRING_PARAMETER
static final int INVALID_WAIT_STATUS
static final int NO_BG_PUBS
static final int OPERATION_NOT_ALLOWED
static final int PAUSE_FAILED
static final int READER_CANCELED
static final int RESUME_FAILED
static final int SQL_RULE_MISSING_QUERY
static final int START_FAILED
static final int STOP_FAILED
static final int TOO_MANY_READERS
static final int UNSUPPORTED
static final int WAIT_TIMEOUT