Discuss this help topic in SecureBlackbox Forum

ESecureBlackboxError Constructor

ESecureBlackboxError     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Creates a new instance of ESecureBlackboxError class.

Declaration

[C#/Java]
    ESecureBlackboxError(string Message);
    ESecureBlackboxError(string Message, int Code, int Fake /* = 0 */);
    ESecureBlackboxError(string Message, int Code, bool InsertCodeToErrorMessage, int Fake /* = 0 */);

[VB.NET]
    Sub New(ByVal Message As String)
    Sub New(ByVal Message As String, ByVal Code As Integer, ByVal Fake As Integer = 0)
    Sub New(ByVal Message As String, ByVal Code As Integer, ByVal InsertCodeToErrorMessage As Boolean, ByVal Fake As Integer = 0)

[Pascal]
    constructor Create(const Message : string);
    constructor Create(const Message : string; Code : integer; Fake : integer = 0);
    constructor Create(const Message : string; Code : integer; InsertCodeToErrorMessage : boolean; Fake : integer = 0);

[C++]
    not available

[PHP]
    not available

Parameters

  • Code - error code
  • Fake - a dummy parameter to prevent certain compilers mixing up overloaded methods with same number of parameters
  • InsertCodeToErrorMessage - specifies if the error code should be included to the error message
  • Message - error message

Description

    Use this method to create an instance of ESecureBlackboxError class.

Discuss this help topic in SecureBlackbox Forum