Class RequestUriTooLongException
Defines an exception class for the HTTP error Request URI Too Long.
Inheritance
Implements
Inherited Members
Namespace: Juhta.Net.WebApi.Exceptions.ClientErrors
Assembly: Juhta.Net.WebApi.Exceptions.dll
Syntax
public class RequestUriTooLongException : ClientErrorException, ISerializable
Constructors
| Improve this Doc View SourceRequestUriTooLongException()
Initializes a new instance.
Declaration
public RequestUriTooLongException()
RequestUriTooLongException(ClientError)
Initializes a new instance.
Declaration
public RequestUriTooLongException(ClientError clientError)
Parameters
Type | Name | Description |
---|---|---|
ClientError | clientError | Specifies a client error. |
RequestUriTooLongException(IEnumerable<ClientError>)
Initializes a new instance.
Declaration
public RequestUriTooLongException(IEnumerable<ClientError> clientErrors)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ClientError> | clientErrors | Specifies a collection of client errors. |
RequestUriTooLongException(Enum)
Initializes a new instance.
Declaration
public RequestUriTooLongException(Enum errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Enum | errorCode | Specifies a custom-defined error code. |
RequestUriTooLongException(Enum, Enum)
Initializes a new instance.
Declaration
public RequestUriTooLongException(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. |
RequestUriTooLongException(Enum, Enum, String)
Initializes a new instance.
Declaration
public RequestUriTooLongException(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. |
RequestUriTooLongException(Enum, Enum, String, String)
Initializes a new instance.
Declaration
public RequestUriTooLongException(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. |
RequestUriTooLongException(Enum, String)
Initializes a new instance.
Declaration
public RequestUriTooLongException(Enum errorCode, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Enum | errorCode | Specifies a custom-defined error code. |
System.String | message | Specifies an error message. |
RequestUriTooLongException(Enum, String, String)
Initializes a new instance.
Declaration
public RequestUriTooLongException(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. |
RequestUriTooLongException(Enum, String, String, String)
Initializes a new instance.
Declaration
public RequestUriTooLongException(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. |
RequestUriTooLongException(String)
Initializes a new instance.
Declaration
public RequestUriTooLongException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Specifies an error message. |
RequestUriTooLongException(String, String)
Initializes a new instance.
Declaration
public RequestUriTooLongException(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. |