ResourceNotFoundException Class

Definition

Exception thrown when a requested resource (e.g., a response ID) is not found. Maps to HTTP 404 Not Found.

public class ResourceNotFoundException : Exception
type ResourceNotFoundException = class
    inherit Exception
Public Class ResourceNotFoundException
Inherits Exception
Inheritance
ResourceNotFoundException

Constructors

Name Description
ResourceNotFoundException(String, Exception)

Initializes a new instance of ResourceNotFoundException with a message and an inner exception.

ResourceNotFoundException(String, String, String)

Initializes a new instance of ResourceNotFoundException with a message, an error code, and the name of the parameter that identifies the missing resource.

ResourceNotFoundException(String)

Initializes a new instance of ResourceNotFoundException with a message.

Properties

Name Description
Code

Gets the error code identifying the kind of failure, if applicable.

Param

Gets the name of the parameter that identifies the missing resource, if applicable.

Applies to