Class NPPException
Exception thrown in NPP library if a native NPP function returns a negative error code
Inheritance
System.Object
System.Exception
NPPException
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.NPP
Assembly: NPP.dll
Syntax
public class NPPException : Exception, ISerializable
Constructors
| Improve this Doc View SourceNPPException()
Declaration
public NPPException()
NPPException(NppStatus)
Declaration
public NPPException(NppStatus error)
Parameters
Type | Name | Description |
---|---|---|
NppStatus | error |
NPPException(NppStatus, String, Exception)
Declaration
public NPPException(NppStatus error, string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
NppStatus | error | |
System.String | message | |
System.Exception | exception |
NPPException(SerializationInfo, StreamingContext)
Declaration
protected NPPException(SerializationInfo serInfo, StreamingContext streamingContext)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | serInfo | |
System.Runtime.Serialization.StreamingContext | streamingContext |
NPPException(String)
Declaration
public NPPException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
NPPException(String, Exception)
Declaration
public NPPException(string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | exception |
Properties
| Improve this Doc View SourceNppError
Declaration
public NppStatus NppError { get; set; }
Property Value
Type | Description |
---|---|
NppStatus |
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