com.genesyslab.ail.exception
Class OutboundServiceException.Type

java.lang.Object
  extended by com.genesyslab.ail.Enum
      extended by com.genesyslab.ail.exception.OutboundServiceException.Type
Enclosing class:
OutboundServiceException

public static class OutboundServiceException.Type
extends Enum

Outbound error types.


Field Summary
static OutboundServiceException.Type ADD_RECORD_ERROR
          Cannot add the record.
static int ADD_RECORD_ERROR_
          Cannot add the record.
static OutboundServiceException.Type CHAINED_RECORDS_NOT_FOUND
          A request refers to absent chain record
static int CHAINED_RECORDS_NOT_FOUND_
          A request refers to absent chain record
static OutboundServiceException.Type DB_ERROR
          Cannot execute the request due to database error
static int DB_ERROR_
          Cannot execute the request due to database error
static OutboundServiceException.Type INVALID_REQUEST
          Received request has wrong request type
static int INVALID_REQUEST_
          Received request has wrong request type
static OutboundServiceException.Type INVALID_TIME
          Received time does not meet request conditions (for example, reschedule in the past)
static int INVALID_TIME_
          Received time does not meet request conditions (for example, reschedule in the past)
static OutboundServiceException.Type INVALID_TIME_FORMAT
          OCS cannot convert string to time (for example, 25/45/00)
static int INVALID_TIME_FORMAT_
          OCS cannot convert string to time (for example, 25/45/00)
static OutboundServiceException.Type KEY_MISSING
          Some mandatory keys are missing
static int KEY_MISSING_
          Some mandatory keys are missing
static int MAX
          The number of constants.
static OutboundServiceException.Type NO_ACTIVE_CAMPAIGN
          Cannot execute request: no campaign was loaded.
static int NO_ACTIVE_CAMPAIGN_
          Cannot execute request: no campaign was loaded.
static OutboundServiceException.Type NO_ACTIVE_PREVIEW_CAMPAIGN
          Cannot execute preview record request: no preview campaign was started
static int NO_ACTIVE_PREVIEW_CAMPAIGN_
          Cannot execute preview record request: no preview campaign was started
static OutboundServiceException.Type NO_RECORDS_AVAILABLE
          All lists are empty, or all records have already been processed, or internal buffer is empty and OCS is waiting for the new portion of records.
static int NO_RECORDS_AVAILABLE_
          All lists are empty, or all records have already been processed, or internal buffer is empty and OCS is waiting for the new portion of records.
static OutboundServiceException.Type PREVIEW_DIALING_OVER_ERROR
          Cannot close preview session.
static int PREVIEW_DIALING_OVER_ERROR_
          Cannot close preview session.
static OutboundServiceException.Type PREVIEW_DIALING_START_ERROR
          Cannot start preview session.
static int PREVIEW_DIALING_START_ERROR_
          Cannot start preview session.
static OutboundServiceException.Type RECORD_ALREADY_EXISTS
          Attempt to add record existing in DB
static int RECORD_ALREADY_EXISTS_
          Attempt to add record existing in DB
static OutboundServiceException.Type RECORD_ALREADY_PROCESSED
          Received request refers to record already processed
static int RECORD_ALREADY_PROCESSED_
          Received request refers to record already processed
static OutboundServiceException.Type RECORD_NOT_FOUND
          OCS received request for nonexisting or already processed record
static int RECORD_NOT_FOUND_
          OCS received request for nonexisting or already processed record
static OutboundServiceException.Type RECORD_ON_DESKTOP
          One or more records could not be canceled because they are being processed by an agent.
static int RECORD_ON_DESKTOP_
          One or more records could not be canceled because they are being processed by an agent.
static OutboundServiceException.Type SCHEDULED_RECORD_NOT_FOUND
          Cannot reschedule the record: record not found
static int SCHEDULED_RECORD_NOT_FOUND_
          Cannot reschedule the record: record not found
static OutboundServiceException.Type SERVICE_NOT_AVAILABLE
          Cannot execute request: outbound service not available for current object
static int SERVICE_NOT_AVAILABLE_
          Cannot execute request: outbound service not available for current object
 
Fields inherited from class com.genesyslab.ail.Enum
CONSTANTS_RANGE
 
Method Summary
static OutboundServiceException.Type getType(int value)
          Returns the Type for this value.
static int max()
          The number of constants.
 
Methods inherited from class com.genesyslab.ail.Enum
equals, hashCode, toInt, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_ACTIVE_CAMPAIGN_

public static final int NO_ACTIVE_CAMPAIGN_
Cannot execute request: no campaign was loaded.

See Also:
Constant Field Values

NO_ACTIVE_CAMPAIGN

public static final OutboundServiceException.Type NO_ACTIVE_CAMPAIGN
Cannot execute request: no campaign was loaded.


NO_ACTIVE_PREVIEW_CAMPAIGN_

public static final int NO_ACTIVE_PREVIEW_CAMPAIGN_
Cannot execute preview record request: no preview campaign was started

See Also:
Constant Field Values

NO_ACTIVE_PREVIEW_CAMPAIGN

public static final OutboundServiceException.Type NO_ACTIVE_PREVIEW_CAMPAIGN
Cannot execute preview record request: no preview campaign was started


NO_RECORDS_AVAILABLE_

public static final int NO_RECORDS_AVAILABLE_
All lists are empty, or all records have already been processed, or internal buffer is empty and OCS is waiting for the new portion of records.

See Also:
Constant Field Values

NO_RECORDS_AVAILABLE

public static final OutboundServiceException.Type NO_RECORDS_AVAILABLE
All lists are empty, or all records have already been processed, or internal buffer is empty and OCS is waiting for the new portion of records.


RECORD_NOT_FOUND_

public static final int RECORD_NOT_FOUND_
OCS received request for nonexisting or already processed record

See Also:
Constant Field Values

RECORD_NOT_FOUND

public static final OutboundServiceException.Type RECORD_NOT_FOUND
OCS received request for nonexisting or already processed record


KEY_MISSING_

public static final int KEY_MISSING_
Some mandatory keys are missing

See Also:
Constant Field Values

KEY_MISSING

public static final OutboundServiceException.Type KEY_MISSING
Some mandatory keys are missing


INVALID_REQUEST_

public static final int INVALID_REQUEST_
Received request has wrong request type

See Also:
Constant Field Values

INVALID_REQUEST

public static final OutboundServiceException.Type INVALID_REQUEST
Received request has wrong request type


INVALID_TIME_

public static final int INVALID_TIME_
Received time does not meet request conditions (for example, reschedule in the past)

See Also:
Constant Field Values

INVALID_TIME

public static final OutboundServiceException.Type INVALID_TIME
Received time does not meet request conditions (for example, reschedule in the past)


INVALID_TIME_FORMAT_

public static final int INVALID_TIME_FORMAT_
OCS cannot convert string to time (for example, 25/45/00)

See Also:
Constant Field Values

INVALID_TIME_FORMAT

public static final OutboundServiceException.Type INVALID_TIME_FORMAT
OCS cannot convert string to time (for example, 25/45/00)


RECORD_ALREADY_PROCESSED_

public static final int RECORD_ALREADY_PROCESSED_
Received request refers to record already processed

See Also:
Constant Field Values

RECORD_ALREADY_PROCESSED

public static final OutboundServiceException.Type RECORD_ALREADY_PROCESSED
Received request refers to record already processed


DB_ERROR_

public static final int DB_ERROR_
Cannot execute the request due to database error

See Also:
Constant Field Values

DB_ERROR

public static final OutboundServiceException.Type DB_ERROR
Cannot execute the request due to database error


CHAINED_RECORDS_NOT_FOUND_

public static final int CHAINED_RECORDS_NOT_FOUND_
A request refers to absent chain record

See Also:
Constant Field Values

CHAINED_RECORDS_NOT_FOUND

public static final OutboundServiceException.Type CHAINED_RECORDS_NOT_FOUND
A request refers to absent chain record


RECORD_ALREADY_EXISTS_

public static final int RECORD_ALREADY_EXISTS_
Attempt to add record existing in DB

See Also:
Constant Field Values

RECORD_ALREADY_EXISTS

public static final OutboundServiceException.Type RECORD_ALREADY_EXISTS
Attempt to add record existing in DB


ADD_RECORD_ERROR_

public static final int ADD_RECORD_ERROR_
Cannot add the record.

See Also:
Constant Field Values

ADD_RECORD_ERROR

public static final OutboundServiceException.Type ADD_RECORD_ERROR
Cannot add the record.


SCHEDULED_RECORD_NOT_FOUND_

public static final int SCHEDULED_RECORD_NOT_FOUND_
Cannot reschedule the record: record not found

See Also:
Constant Field Values

SCHEDULED_RECORD_NOT_FOUND

public static final OutboundServiceException.Type SCHEDULED_RECORD_NOT_FOUND
Cannot reschedule the record: record not found


PREVIEW_DIALING_START_ERROR_

public static final int PREVIEW_DIALING_START_ERROR_
Cannot start preview session.

See Also:
Constant Field Values

PREVIEW_DIALING_START_ERROR

public static final OutboundServiceException.Type PREVIEW_DIALING_START_ERROR
Cannot start preview session.


PREVIEW_DIALING_OVER_ERROR_

public static final int PREVIEW_DIALING_OVER_ERROR_
Cannot close preview session.

See Also:
Constant Field Values

PREVIEW_DIALING_OVER_ERROR

public static final OutboundServiceException.Type PREVIEW_DIALING_OVER_ERROR
Cannot close preview session.


SERVICE_NOT_AVAILABLE_

public static final int SERVICE_NOT_AVAILABLE_
Cannot execute request: outbound service not available for current object

See Also:
Constant Field Values

SERVICE_NOT_AVAILABLE

public static final OutboundServiceException.Type SERVICE_NOT_AVAILABLE
Cannot execute request: outbound service not available for current object


RECORD_ON_DESKTOP_

public static final int RECORD_ON_DESKTOP_
One or more records could not be canceled because they are being processed by an agent.

See Also:
Constant Field Values

RECORD_ON_DESKTOP

public static final OutboundServiceException.Type RECORD_ON_DESKTOP
One or more records could not be canceled because they are being processed by an agent.


MAX

public static final int MAX
The number of constants.

See Also:
Constant Field Values
Method Detail

max

public static final int max()
The number of constants.


getType

public static final OutboundServiceException.Type getType(int value)
Returns the Type for this value.