User Tools

Site Tools


api:dk11:delphi:gisclasses.egis_exception.create_string_string_integer_exception

Table of Contents

EGIS_Exception.Create(String; String; Integer; Exception) constructor

DK11 for Delphi | GisClasses.EGIS_Exception.Create | Overloads | Constructors | Fields

Construct exception.

Available also on: .NET | Java.

Syntax

// Delphi
public
  constructor Create(
    const _message : String;
    const _refstring : String;
    const _refcode : Integer;
    const _exception : Exception
  ); overload;
// C++ Builder
Create (
  const UnicodeString _message,
  const UnicodeString _refstring,
  const int _refcode,
  Exception* const _exception
);

Parameters

Name Type Description
_message String message of the exception; message must be in format '000 Message %s %d';
_refstring String additional String referring to exception (like file name in import filters, etc.)
_refcode Integer additional code referring to exception (like line number in import filters etc.)
_exception Exception exception that is the cause of the current exception
2017/09/04 11:12