Class CudaSparseException
An CudaSparseException is thrown, if any wrapped call to the CUSPARSE-library does not return Success.
Inheritance
System.Object
System.Exception
CudaSparseException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
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: ManagedCuda.CudaSparse
Assembly: CudaSparse.dll
Syntax
public class CudaSparseException : Exception, ISerializable
Constructors
| Improve this Doc View SourceCudaSparseException()
Declaration
public CudaSparseException()
CudaSparseException(cusparseStatus)
Declaration
public CudaSparseException(cusparseStatus error)
Parameters
| Type | Name | Description |
|---|---|---|
| cusparseStatus | error |
CudaSparseException(cusparseStatus, String, Exception)
Declaration
public CudaSparseException(cusparseStatus error, string message, Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| cusparseStatus | error | |
| System.String | message | |
| System.Exception | exception |
CudaSparseException(SerializationInfo, StreamingContext)
Declaration
protected CudaSparseException(SerializationInfo serInfo, StreamingContext streamingContext)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | serInfo | |
| System.Runtime.Serialization.StreamingContext | streamingContext |
CudaSparseException(String)
Declaration
public CudaSparseException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message |
CudaSparseException(String, Exception)
Declaration
public CudaSparseException(string message, Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | |
| System.Exception | exception |
Properties
| Improve this Doc View SourceCudaSparseError
Declaration
public cusparseStatus CudaSparseError { get; set; }
Property Value
| Type | Description |
|---|---|
| cusparseStatus |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context |
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Exception.ToString()
Implements
System.Runtime.Serialization.ISerializable