My question is: how would you create an exception hierarchy in your application?
Architecture development of the application, from my point of view, we could have three types of exceptions:
Class hierarchy:
where only MyAppInternalException and MyAppBusinessRuleViolationException will be detected.
E, F, , E , , E, F. , , , E, , E.
, . , - - :
, . , . , , catch, .
catch
"UsernameAlreadyExistsException"
, . .. . MyAppBusinessRuleViolationException.
,
Source: https://habr.com/ru/post/1743341/More articles:How to convert this foreach loop to Linq code? - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1743337/does-copywithzone-on-an-nsarray-call-copywithzone-on-its-elements-too&usg=ALkJrhjXeM0Divx34ioGvhGVtzbETUFeGwHow can I simulate a scroll click using jQuery? - jquerynhibernate from many to many deletions - .netFill WPF list with string array - c #VS2010, MSDeploy and the declaration of parameters - visual-studio-2010What kind of viewer are you using with ASP.NET MVC ?, and why? - asp.net-mvcProblems with jQuery.not () and draggable ui - jqueryImprove call code with stored Zend procedure - phpMobile Safari - Suppressing an unsupported protocol warning - javascriptAll Articles