ODataException

Overview

ODataException is the default exception that occurs when an error occurs while parsing an ODATA request (see OData Publishing). It's generally throws for invalid input or when the ODataSchemaDispatcher isn't setup properly.

Location


Instance Methods


constructor

 

constructor

 

ODataException()

 

Sub New()

constructor (SerializationInfo, StreamingContext)

Default (inherited) constructor for serialization.

 

constructor(info: SerializationInfo; context: StreamingContext)

 

ODataException(SerializationInfo info, StreamingContext context)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

constructor (String)

Creates a new instance of this exception class.

 

constructor(message: String)

 

ODataException(String message)

 

Sub New(message As String)

Parameters:

  • message: error message

constructor (String, Exception)

Default (inherited) constructor for serialization.

 

constructor(message: String; innerException: Exception)

 

ODataException(String message, Exception innerException)

 

Sub New(message As String, innerException As Exception)

Parameters:

  • message: error message
  • innerException: wrapped exception

 

  • OData Publishing