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

class TinmanError in Tinman.Core

Describes an error.

[ShutdownSurvive]
sealed class TinmanError implements ICodeOutput

Public / Attributes

ErrorCause

The errors that have caused this error.

public readonly field ErrorCause
type IVectorConst<TinmanError>

ErrorMessage

The error message (for human consumption).

public readonly field ErrorMessage
type string

Remarks:

This value will never be null or empty.

ErrorSource

The error source.

public readonly field ErrorSource
type string

Remarks:

The source depicts the type and member where the error has occurred resp. has been detected. The error source string has the following format:

'TypeName.MemberName'
where TypeName is the name of the type, excluding the namespace (e.g. 'ByteBuffer' for ByteBuffer) and MemberName is the name of the type member that has triggered resp. reported the error.

This value will never be null or empty.

ErrorTrace

The error stack trace (if available), in a native format.

public readonly field ErrorTrace
type string

Public / Constructors

From

Extracts an TinmanError object from the given native exception.

public static method From (string source, Exception exception)
type TinmanError
params source The error source tag.
  exception The native exception.
returns [not-null] The resulting error info.

TinmanError

Creates a new instance of TinmanError.

public constructor TinmanError (string errorSource, string errorMessage)
params errorSource The error source (see ErrorSource).
  errorMessage The error message.

Wrap

Aggregates the given TinmanError s into one error.

public static method Wrap (string source, string message, IVectorConst<TinmanError> errors)
type TinmanError
params source Aggregated error source tag.
  message Aggregated error message.
  errors Aggregated error infos.
returns [not-null] The resulting error info.

Public / Methods

ToString

[Pure]
public override method ToString ()
type string

public method ToString (int32 columns)
type string
params columns

WriteSourceCode

Produces source code by feeding the given source code writer.

public method WriteSourceCode (SourceCodeWriter writer, Context context)
params writer [not-null] The source code writer to use.
  context [not-null] Context information.
implements ICodeOutput.WriteSourceCode

Exceptions: