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

class ValidatingException in Tinman.Core.Validating

An IValidatable object is being used that has one or more validation errors and thus cannot perform properly.

sealed class ValidatingException extends TinmanException

Remarks

Unless stated otherwise, ValidatingException s are only thrown for validation errors (see Error), however the provided validation Result may contain both errors and warnings (i.e. the validated object has reported both errors and warnings).

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

[Pure]
public override sealed property Message { get }
type string
value
inherited TinmanException.Message

Result

The validation result.

public readonly field Result
type ValidateResult

Source

The error source (see ErrorSource).

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

Public / Constructors

Failure

public static method Failure (string source, IValidateMessage message)
type ValidatingException
params source
  message

public static method Failure (string source, ValidateResult result, string message = null)
type ValidatingException
params source
  result
  message

Public / Methods

ToString

[Pure]
public override sealed method ToString ()
type string
inherited TinmanException.ToString