I have an assembly which contains only interfaces to avoid unnessesary dependecies. Now i have an exception-type named UndefinedIHttpMacTokenException
. So as you can see the exception concerns an interface-type of IHttpMacToken
. Now i thought it would be best to include the exception-type in the interface-assembly. But this is a bit contradictory. If you hear the assemblys name (somenamespace.Interfaces). You would not expect it to contain class-types(exceptions).
So can you help me out? What is best practice in such cases? Thanks for your effort.
Aucun commentaire:
Enregistrer un commentaire