Class ConflictException

All Implemented Interfaces:
Serializable

public class ConflictException extends ExternalServiceException
Exception thrown when an external service responds with an error indicating a conflict.

This normally happens on integrity constraint violations such as when trying to add something that already exists. Errors of this type that propagate to an HTTP client will normally result in a 409 Conflict status code being served.

Effort should be made to make the external service error message available to template authors.

See Also:
  • Constructor Details

    • ConflictException

      public ConflictException(String message)
      Creates a ConflictException.
      Parameters:
      message - provided by the external service, if any, or a simple message that may be exposed to users.