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