Reports unexpected errors that are related to the creation of graphics resources.
sealed class
|
RenderException
|
extends
|
TinmanException
|
The TinmanError object that describes the error that has occurred.
public
property
|
ErrorInfo
{
get
}
|
||
type
|
TinmanError
|
||
value
|
|
The TinmanError object. | |
inherited
|
TinmanException.ErrorInfo
|
Returns the human-readable exception message.
[Pure]
|
||||
public
override
sealed
property
|
Message
{
get
}
|
|||
type
|
string
|
|||
value
|
|
The localized exception message. | ||
inherited
|
TinmanException.Message
|
The error source (see ErrorSource).
public
property
|
Source
{
get
}
|
||
type
|
string
|
||
value
|
The error source tag. | ||
inherited
|
TinmanException.Source
|
Creates a new instance of RenderException.
public
static
method
|
Failure
(string source,
string message)
|
||
type
|
RenderException
|
||
params
|
source
|
The error source tag. | |
message
|
The error message. | ||
returns
|
The ready-to-throw exception. |
Creates a new instance of RenderException.
public
static
method
|
Failure
(string source,
string functionName,
int32 errorCode)
|
||
type
|
RenderException
|
||
params
|
source
|
The error source tag. | |
functionName
|
The render function that has failed. | ||
errorCode
|
The error code that has been returned by the function. | ||
returns
|
The ready-to-throw exception. |
Creates a new instance of RenderException.
public
static
method
|
Failure
(string source,
string message,
TinmanError cause)
|
||
type
|
RenderException
|
||
params
|
source
|
The error source tag. | |
message
|
The error message. | ||
cause
|
The error cause. | ||
returns
|
The ready-to-throw exception. |
Creates an error message for a render function that has failed with an error code.
[Pure]
|
||||
public
static
method
|
FailureMessage
(string functionName,
int32 errorCode)
|
|||
type
|
string
|
|||
params
|
functionName
|
The render function name. | ||
errorCode
|
The error code. | |||
returns
|
|
The error message. |
Returns a textual representation of this exception.
[Pure]
|
||||
public
override
sealed
method
|
ToString
()
|
|||
type
|
string
|
|||
returns
|
|
The localized textual representation. | ||
inherited
|
TinmanException.ToString
|