C# Class ManagedCuda.NVRTC.NVRTCException

An NVRTCException is thrown, if any wrapped call to the NVRTC-library does not return nvrtcResult.Success.
Inheritance: System.Exception, System.Runtime.Serialization.ISerializable
显示文件 Open project: kunzmi/managedCuda

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

NVRTCException ( ) : System

NVRTCException ( nvrtcResult error ) : System

NVRTCException ( nvrtcResult error, string message, Exception exception ) : System

NVRTCException ( string message ) : System

NVRTCException ( string message, Exception exception ) : System

ToString ( ) : string

Protected Methods

Method Description
NVRTCException ( SerializationInfo serInfo, StreamingContext streamingContext ) : System

Private Methods

Method Description
GetErrorMessageFromCUResult ( nvrtcResult error ) : string

Method Details

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

NVRTCException() public method

public NVRTCException ( ) : System
return System

NVRTCException() protected method

protected NVRTCException ( SerializationInfo serInfo, StreamingContext streamingContext ) : System
serInfo System.Runtime.Serialization.SerializationInfo
streamingContext System.Runtime.Serialization.StreamingContext
return System

NVRTCException() public method

public NVRTCException ( nvrtcResult error ) : System
error nvrtcResult
return System

NVRTCException() public method

public NVRTCException ( nvrtcResult error, string message, Exception exception ) : System
error nvrtcResult
message string
exception System.Exception
return System

NVRTCException() public method

public NVRTCException ( string message ) : System
message string
return System

NVRTCException() public method

public NVRTCException ( string message, Exception exception ) : System
message string
exception System.Exception
return System

ToString() public method

public ToString ( ) : string
return string