Open Alexey-T opened 1 year ago
Hi Alexey,
I am not sure what would be the change for the exception. Can you show me?
type
TBgraException = class(Exception);
...
raise TBgraException.Create('text here');
I see, why not
Hi Alexey,
Reflecting on your suggestion, it seems that for exception, there is a convention to prefix with E. So I presume we could define following exceptions:
Other exceptions would be descendants:
This would be a descendant of EMultifileContainerError:
This would be a descendant of EBGRABitmapError:
This would be a descendant of ELayeredBitmapError:
I am not sure it convers absolutely everything, however this would give some structure to the exceptions.
in unitbitmapgeneric.inc we have 3 'exception.create()`. would be better to use uniq class instead of 'exception'. eg in IDE i will be able to set 'Ignore errors of this class' UI option.
and: typo
'Semi-tranparent