-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAE.ORM.Exceptions.pas
More file actions
41 lines (29 loc) · 1.02 KB
/
AE.ORM.Exceptions.pas
File metadata and controls
41 lines (29 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
AEORM © 2026 by Akos Eigler is licensed under CC BY 4.0.
To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/
This license requires that reusers give credit to the creator. It allows reusers to distribute, remix, adapt,
and build upon the material in any medium or format, even for commercial purposes.
}
Unit AE.ORM.Exceptions;
Interface
Uses System.SysUtils, ZVariant;
Type
EAEORMException = Class(Exception)
strict private
_additionalinfo: String;
public
Constructor Create(Const inMessage: String; Const inAdditionalInformation: String = ''); ReIntroduce;
Property AdditionalInformation: String Read _additionalinfo;
End;
EAEORMDBConnectionPoolException = Class(EAEORMException);
EAEORMEntityException = Class(EAEORMException);
Implementation
//
// EAEORMException
//
Constructor EAEORMException.Create(Const inMessage: String; Const inAdditionalInformation: String = '');
Begin
inherited Create(inMessage);
_additionalinfo := inAdditionalInformation;
End;
End.