Show / Hide Table of Contents

Class RequestValidationException

Represents exception information for request input data validation errors.

Inheritance
System.Object
RequestValidationException
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public sealed class RequestValidationException : Exception

Constructors

| Improve this Doc View Source

RequestValidationException()

Creates new instance of RequestValidationException class.

Declaration
public RequestValidationException()
| Improve this Doc View Source

RequestValidationException(String)

Creates new instance of RequestValidationException class with specified error message.

Declaration
public RequestValidationException(String message)
Parameters
Type Name Description
String message

The message that describes the error.

| Improve this Doc View Source

RequestValidationException(String, Exception)

Creates new instance of RequestValidationException class with specified error message and reference to the inner exception that is the cause of this exception.

Declaration
public RequestValidationException(String message, Exception inner)
Parameters
Type Name Description
String message

The message that describes the error.

Exception inner

The exception that is the cause of this exception.

| Improve this Doc View Source

RequestValidationException(String, String)

Creates new instance of RequestValidationException class with specified error message.

Declaration
public RequestValidationException(String message, String propertyName)
Parameters
Type Name Description
String message

The message that describes the error.

String propertyName

The invalid property name.

Properties

| Improve this Doc View Source

PropertyName

Gets the invalid property name that causes this validation exception.

Declaration
public String PropertyName { get; }
Property Value
Type Description
String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX