Skip to content
SimplyMe
Go back

Exception

Edit page

Technology exceptions should be converted into business exceptions. Suppose the method returns a technology exception such as RemoteException. Then the interface is tiedĀ  to a particular implementation. Instead, the method should return a business exception, such as UnableToObtainIngredients. If more detailed information is required forĀ  debugging purposes, it can be placed as data within the business exception.

Pragmatic Interface Oriented Design.


Edit page
Share this post on:

Previous Post
akhirnya bisa masuk juga...
Next Post
Ganti lagi...