Class UnclassifiedServerFailureException

All Implemented Interfaces:
Serializable

Exception for use when a response is received or being sent that does not correspond to any other exception type. An HTTP status code must be provided, and will be provided to the caller in the case of a server implementation.
See Also:
Serialized Form
  • Constructor Details

    • UnclassifiedServerFailureException

      public UnclassifiedServerFailureException(int theStatusCode, String theMessage)
      Constructor
      Parameters:
      theStatusCode - The HTTP status code to return (e.g. 404 if you wish to return an HTTP 404 status)
      theMessage - The message to add to the status line
    • UnclassifiedServerFailureException

      public UnclassifiedServerFailureException(int theStatusCode, String theMessage, IBaseOperationOutcome theOperationOutcome)
      Constructor
      Parameters:
      theStatusCode - The HTTP status code to return (e.g. 404 if you wish to return an HTTP 404 status)
      theMessage - The message to add to the status line
      theOperationOutcome - The OperationOutcome resource to return to the client