EMS.ResourceAPI.EEMSHTTPError.RaiseNotFound
Delphi
class procedure RaiseNotFound(const AError: string = ''; const ADescription: string = ''); static;
C++
static void __fastcall RaiseNotFound(const System::UnicodeString AError = System::UnicodeString(), const System::UnicodeString ADescription = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | EMS.ResourceAPI.pas EMS.ResourceAPI.hpp |
EMS.ResourceAPI | EEMSHTTPError |
Description
Raises an EEMSHTTPResourceNotFoundError exception with TCodes.NotFound as error code and the specified error name and error description.
The following table shows the default values for the Error and Description properties of the exception. RaiseNotFound uses the values in the table below if you omit the AError
or ADescription
parameters, or if you pass an empty string as their value.
Parameter | Property | Default Value |
---|---|---|
AError
|
Error | Not found |
ADescription
|
Description | The request does not identify a known application, resource, endpoint, or entity |