Show / Hide Table of Contents

Class NotFoundException

Defines an exception class for the HTTP error Not Found.

Inheritance
System.Object
System.Exception
WebApiException
ClientErrorException
NotFoundException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
ClientErrorException.ToClientErrorResponse()
ClientErrorException.ToString()
ClientErrorException.Error
ClientErrorException.Errors
WebApiException.SetServiceName(String)
WebApiException.ServiceStack
WebApiException.StatusCode
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Juhta.Net.WebApi.Exceptions.ClientErrors
Assembly: Juhta.Net.WebApi.Exceptions.dll
Syntax
public class NotFoundException : ClientErrorException, ISerializable

Constructors

| Improve this Doc View Source

NotFoundException()

Initializes a new instance.

Declaration
public NotFoundException()
| Improve this Doc View Source

NotFoundException(ClientError)

Initializes a new instance.

Declaration
public NotFoundException(ClientError clientError)
Parameters
Type Name Description
ClientError clientError

Specifies a client error.

| Improve this Doc View Source

NotFoundException(IEnumerable<ClientError>)

Initializes a new instance.

Declaration
public NotFoundException(IEnumerable<ClientError> clientErrors)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ClientError> clientErrors

Specifies a collection of client errors.

| Improve this Doc View Source

NotFoundException(Enum)

Initializes a new instance.

Declaration
public NotFoundException(Enum errorCode)
Parameters
Type Name Description
System.Enum errorCode

Specifies a custom-defined error code.

| Improve this Doc View Source

NotFoundException(Enum, Enum)

Initializes a new instance.

Declaration
public NotFoundException(Enum errorCode, Enum field)
Parameters
Type Name Description
System.Enum errorCode

Specifies a custom-defined error code.

System.Enum field

Specifies a field to which the error relates.

| Improve this Doc View Source

NotFoundException(Enum, Enum, String)

Initializes a new instance.

Declaration
public NotFoundException(Enum errorCode, Enum field, string message)
Parameters
Type Name Description
System.Enum errorCode

Specifies a custom-defined error code.

System.Enum field

Specifies a field to which the error relates.

System.String message

Specifies an error message.

| Improve this Doc View Source

NotFoundException(Enum, Enum, String, String)

Initializes a new instance.

Declaration
public NotFoundException(Enum errorCode, Enum field, string message, string helpUrl)
Parameters
Type Name Description
System.Enum errorCode

Specifies a custom-defined error code.

System.Enum field

Specifies a field to which the error relates.

System.String message

Specifies an error message.

System.String helpUrl

Specifies a URL that provides extra information about the error.

| Improve this Doc View Source

NotFoundException(Enum, String)

Initializes a new instance.

Declaration
public NotFoundException(Enum errorCode, string message)
Parameters
Type Name Description
System.Enum errorCode

Specifies a custom-defined error code.

System.String message

Specifies an error message.

| Improve this Doc View Source

NotFoundException(Enum, String, String)

Initializes a new instance.

Declaration
public NotFoundException(Enum errorCode, string field, string message)
Parameters
Type Name Description
System.Enum errorCode

Specifies a custom-defined error code.

System.String field

Specifies a field to which the error relates.

System.String message

Specifies an error message.

| Improve this Doc View Source

NotFoundException(Enum, String, String, String)

Initializes a new instance.

Declaration
public NotFoundException(Enum errorCode, string field, string message, string helpUrl)
Parameters
Type Name Description
System.Enum errorCode

Specifies a custom-defined error code.

System.String field

Specifies a field to which the error relates.

System.String message

Specifies an error message.

System.String helpUrl

Specifies a URL that provides extra information about the error.

| Improve this Doc View Source

NotFoundException(String)

Initializes a new instance.

Declaration
public NotFoundException(string message)
Parameters
Type Name Description
System.String message

Specifies an error message.

| Improve this Doc View Source

NotFoundException(String, String)

Initializes a new instance.

Declaration
public NotFoundException(string message, string helpUrl)
Parameters
Type Name Description
System.String message

Specifies an error message.

System.String helpUrl

Specifies a URL that provides extra information about the error.

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
Back to top Copyright © 2017-2019 Juha Lähteenmäki
Generated by DocFX