Skip to main content

All Questions

Tagged with
2 votes
2 answers
3k views

Validations and throwing exceptions in DDD?

I have a question regarding validations and exceptions in DDD. I have a ValueObject say, PasswordText which takes a string argument in it's constructor. Checks if the string matches the password ...
honey_ramgarhia's user avatar
0 votes
1 answer
971 views

Include exceptions in activity diagrams? [closed]

Should I include exceptions, like a TimeOutException or just general Exceptions, to a activity diagram? For example: A activity diagram describing a client-server connection. Several exceptions can ...
Tobias H's user avatar
0 votes
1 answer
3k views

Exceptions: What to handle, what to throw [closed]

I have a custom configuration reader which performs various functions on top of .NET's CloudConfigurationManager and ConfigurationManager implementations, such as caching, type conversion, etc. The ...
Dave New's user avatar
  • 897
10 votes
1 answer
4k views

Separate namespace just for exceptions?

I was doing a code review and came across something odd which I've never seen before. The developer decided to create a sub-namespace just to contain all the assembly's exceptions. I thought I had ...
Andy's user avatar
  • 2,044