TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class RenderException in Tinman.Terrain.Rendering

Reports unexpected errors that are related to the creation of graphics resources.

sealed class RenderException extends TinmanException

Public / Attributes

ErrorInfo

The TinmanError object that describes the error that has occurred.

public property ErrorInfo { get }
type TinmanError
value [not-null] The TinmanError object.
inherited TinmanException.ErrorInfo

Message

Returns the human-readable exception message.

[Pure]
public override sealed property Message { get }
type string
value [not-null] The localized exception message.
inherited TinmanException.Message

Source

The error source (see ErrorSource).

public property Source { get }
type string
value The error source tag.
inherited TinmanException.Source

Public / Constructors

Failure

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.

Public / Methods

FailureMessage

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 [not-empty] The error message.

ToString

Returns a textual representation of this exception.

[Pure]
public override sealed method ToString ()
type string
returns [not-empty] The localized textual representation.
inherited TinmanException.ToString