| Package | Description |
|---|---|
| com.ibm.optim.oaas.client |
This package contains the base exceptions that can be thrown by the client library
and some utility classes.
|
| com.ibm.optim.oaas.client.job |
This package contains the classes to create and handle jobs.
|
| Modifier and Type | Class and Description |
|---|---|
class |
OperationException
Exception raised when accessing a remote resource using the HTTP protocol.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AttachmentNotFoundException
Job exception indicating that the attachment or the attachment content was not found.
|
class |
AttachmentStorageLimitException
Exception that is thrown when a given attachment size has exceeded the limit defined in the
subscription.
|
class |
EmptyAttachmentException
Validation exception indicating that the attachment is empty.
|
class |
FormatNotSupportedException
Validation exception thrown when the requested result format is not supported by the job processor.
|
class |
IllegalJobStatusException
Validation exception thrown when an action is attempted on a job which does not have the right status
to handle this action.
|
class |
InvalidApplicationException
Validation exception thrown when the application is not valid or not supported.
|
class |
InvalidAttachmentNameException
Validation exception thrown when the name of an attachment is invalid.
|
class |
InvalidAttachmentsException
Validation exception thrown when the given combination of attachment types is not supported by the
specified application.
|
class |
JobException
Exception associated with a job.
|
class |
JobLimitException
Subscription exception thrown when the maximum number of jobs has been reached.
|
class |
JobNotFoundException
Job exception thrown when the job cannot be found.
|
class |
MissingAttachmentNameException
Validation exception thrown when the name of an attachment is missing.
|
class |
MissingAttachmentsException
Validation exception thrown when no application was specified and no attachments were
declared.
|
class |
MissingExtensionException
Validation exception thrown when the application is not valid or not supported.
|
class |
StorageLimitException
Subscription exception thrown when the total storage limit defined in the subscription has been
reached.
|
class |
SubscriptionException
Base exception of all issues related to subscription settings and limits.
|
class |
UndefinedApplicationException
Validation exception thrown when no application has been defined.
|
class |
UnrecognizedAttachmentsException
Validation exception thrown when the application was not set and the combination of attachments is
not recognized as valid for any application.
|
class |
ValidationException
Base exception for issues related to the application (OPL or CPLEX) and the
supported type of attachments.
|
| Modifier and Type | Method and Description |
|---|---|
static JobClient |
JobClientFactory.createDefaultFromBluemix()
Creates a default job client to connect to the IBM Decision Optimization service by looking up the
service with the label starting with
JobClientFactory.BLUEMIX_SERVICE_LABEL in the VCAP_SERVICES. |
static JobClient |
JobClientFactory.createDefaultFromBluemix(String serviceName)
Creates a default job client to connect to the IBM Decision Optimization service by looking up the
service name in the VCAP_SERVICES.
|
static JobClientBuilder |
JobClientFactory.customFromBluemix()
Returns a builder to configure the job client by looking for an IBM Decision Optimization
service with the label starting with
JobClientFactory.BLUEMIX_SERVICE_LABEL in the VCAP_SERVICES. |
static JobClientBuilder |
JobClientFactory.customFromBluemix(String serviceName)
Returns a builder to configure the job client.
|
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.