1
0
mirror of synced 2024-11-12 15:49:16 +00:00
x2log/X2Log.Exception.madExcept.pas
Mark van Renswoude 6d5355e0b6 Added: support for binary details
Added: Save button for Monitor Form
2014-05-30 12:51:01 +00:00

35 lines
778 B
ObjectPascal

unit X2Log.Exception.madExcept;
interface
uses
System.SysUtils,
X2Log.Intf,
X2Log.Exception.Default;
type
TX2LogmadExceptExceptionStrategy = class(TX2LogDefaultExceptionStrategy)
public
{ IX2LogExceptionStrategy }
procedure Execute(AException: Exception; var AMessage: string; var ADetails: IX2LogDetails); override;
end;
implementation
uses
madExcept,
X2Log.Details.Default;
{ TX2LogmadExceptExceptionStrategy }
procedure TX2LogmadExceptExceptionStrategy.Execute(AException: Exception; var AMessage: string; var ADetails: IX2LogDetails);
begin
inherited Execute(AException, AMessage, ADetails);
ADetails := TX2LogStringDetails.CreateIfNotEmpty(madExcept.CreateBugReport(etNormal, AException));
end;
end.