Class ResourceGoneException

All Implemented Interfaces:
Serializable

Represents an HTTP 410 Resource Gone response, which geenerally indicates that the resource has been deleted
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • ResourceGoneException

      public ResourceGoneException(IIdType theResourceId)
      Constructor which creates an error message based on a given resource ID
      Parameters:
      theResourceId - The ID of the resource that could not be found
    • ResourceGoneException

      @Deprecated public ResourceGoneException(Class<? extends IBaseResource> theClass, BaseIdentifierDt thePatientId)
      Deprecated.
      This constructor has a dependency on a specific model version and will be removed. Deprecated in HAPI 1.6 - 2016-07-02
    • ResourceGoneException

      public ResourceGoneException(Class<? extends IBaseResource> theClass, IIdType theResourceId)
      Constructor which creates an error message based on a given resource ID
      Parameters:
      theClass - The type of resource that could not be found
      theResourceId - The ID of the resource that could not be found
    • ResourceGoneException

      public ResourceGoneException(String theMessage, IBaseOperationOutcome theOperationOutcome)
      Constructor
      Parameters:
      theMessage - The message
      theOperationOutcome - The OperationOutcome resource to return to the client
    • ResourceGoneException

      public ResourceGoneException(String theMessage)
      Constructor
      Parameters:
      theMessage - The message
  • Method Details