Class CudaRandException
An CudaRandException is thrown, if any wrapped call to the CURAND-library does not return Success.
Inheritance
System.Object
System.Exception
CudaRandException
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.CudaRand
Assembly: CudaRand.dll
Syntax
public class CudaRandException : Exception, ISerializable
Constructors
| Improve this Doc View SourceCudaRandException()
Declaration
public CudaRandException()
CudaRandException(CurandStatus)
Declaration
public CudaRandException(CurandStatus error)
Parameters
| Type | Name | Description |
|---|---|---|
| CurandStatus | error |
CudaRandException(CurandStatus, String, Exception)
Declaration
public CudaRandException(CurandStatus error, string message, Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| CurandStatus | error | |
| System.String | message | |
| System.Exception | exception |
CudaRandException(SerializationInfo, StreamingContext)
Declaration
protected CudaRandException(SerializationInfo serInfo, StreamingContext streamingContext)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | serInfo | |
| System.Runtime.Serialization.StreamingContext | streamingContext |
CudaRandException(String)
Declaration
public CudaRandException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message |
CudaRandException(String, Exception)
Declaration
public CudaRandException(string message, Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | |
| System.Exception | exception |
Properties
| Improve this Doc View SourceCudaRandError
Declaration
public CurandStatus CudaRandError { get; set; }
Property Value
| Type | Description |
|---|---|
| CurandStatus |
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