Class DataProviderException
Represents the exception raised when user tries to perform restricted operation in the data provider.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Olap.DataProvider
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class DataProviderException : Exception, ISerializable, _Exception
Constructors
DataProviderException()
Initializes a new instance of the DataProviderException class.
Declaration
public DataProviderException()
DataProviderException(Exception)
Initializes a new instance of the DataProviderException class.
Declaration
public DataProviderException(Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | innerException | The inner exception. |
DataProviderException(SerializationInfo, StreamingContext)
Initializes a new instance of the DataProviderException class.
Declaration
public DataProviderException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.Runtime.Serialization.SerializationException | The class name is null or System.Exception.HResult is zero (0). |
DataProviderException(String)
Initializes a new instance of the DataProviderException class.
Declaration
public DataProviderException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
DataProviderException(String, Exception)
Initializes a new instance of the DataProviderException class.
Declaration
public DataProviderException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
System.Exception | innerException | The inner exception. |