public abstract class SphereError
extends java.lang.Object
SphereBackendException
.Modifier and Type | Class and Description |
---|---|
static class |
SphereError.ConcurrentModification
The request attempts to modify a resource that is out of date,
i.e.
|
static class |
SphereError.DuplicateAttributesValue
The CombinationUnique AttributeConstraint was violated.
|
static class |
SphereError.DuplicateAttributeValue
The Unique AttributeConstraint was violated.
|
static class |
SphereError.DuplicateField
A value for a field conflicts with an existing duplicate value.
|
static class |
SphereError.DuplicatePriceScope
A given price scope conflicts with an existing one.
|
static class |
SphereError.DuplicateVariantValues
A given combination of variant values conflicts with an existing one.
|
static class |
SphereError.General
A server-side problem occurred that is not further specified.
|
static class |
SphereError.InvalidCredentials
No customer was found for the given credentials.
|
static class |
SphereError.InvalidCurrentPassword
Indicated that the current password did not match the given password.
|
static class |
SphereError.InvalidField
A field has an invalid value.
|
static class |
SphereError.InvalidInput
Invalid input has been sent to the service.
|
static class |
SphereError.InvalidJsonInput
Invalid JSON has been sent to the service.
|
static class |
SphereError.InvalidOperation
The resource(s) involved in the request are not in a valid state for the operation.
|
static class |
SphereError.InvalidSubject
The resource addressed by the request URL does not exist.
|
static class |
SphereError.OutOfStock
Some of the ordered line items are out of stock at the time of placing the order.
|
static class |
SphereError.OverCapacity
The service is having trouble handling the load.
|
static class |
SphereError.PendingOperation
A previous conflicting operation is still pending and needs to finish before the request can succeed.
|
static class |
SphereError.PriceChanged
Some line items price or tax changed at the time of placing the order.
|
static class |
SphereError.RequiredField
A required field is missing a value.
|
static class |
SphereError.ResourceNotFound
The resource addressed by the request URL does not exist.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getCode()
The error code, such as 'InvalidOperation'.
|
java.lang.String |
getMessage()
The error message.
|
java.lang.String |
toString() |