Class UnclassifiedServerFailureException

    • Constructor Detail

      • 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