Class PalException
Exception type for platform abstraction layer drivers.
Implements
Inherited Members
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
[Serializable]
public class PalException : Exception, ISerializable
Constructors
PalException(IPalComponent)
Initializes a new instance of the PalException class.
Declaration
public PalException(IPalComponent component)
Parameters
Type | Name | Description |
---|---|---|
IPalComponent | component | The component which throws the exception. |
PalException(IPalComponent, string)
Initializes a new instance of the PalException class.
Declaration
public PalException(IPalComponent component, string message)
Parameters
Type | Name | Description |
---|---|---|
IPalComponent | component | The component which throws the exception. |
string | message | The message for the exception. |
PalException(IPalComponent, string, Exception)
Initializes a new instance of the PalException class.
Declaration
public PalException(IPalComponent component, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
IPalComponent | component | The component which throws the exception. |
string | message | The message for the exception. |
Exception | innerException | The exception which caused this exception. |
Properties
Component
The component which throws the exception.
Declaration
public IPalComponent Component { get; }
Property Value
Type | Description |
---|---|
IPalComponent |