[ 
https://issues.apache.org/jira/browse/STONEHENGE-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Dewey updated STONEHENGE-83:
--------------------------------

    Attachment: STONEHENGE-83-ExampleLogger.patch

Avantika,

Although this patch is good and would be very helpful, I'm not going to commit 
it becuase I feel its a lot of repeated code and frankly the concept of 
changing colors and writing to the console isn't the responsibility for the 
BusinessServiceImplementation, etc.

I'm attaching this Example patch to use as a guide for a more abstracted 
version.  To use this call StockTraderUtility.Logger.WriteException(ex), etc.  

Please note this a is a VERY rough example.  All classes/interfaces should be 
moved into their own files and the static logger property should be initialized 
from an app setting.

Take another stab at it with this example code and upload a new version.  If 
you have any problems, just upload what you have and I'll do some final cleanup 
before committing.

-Ben Dewey

> Error handling for the ConfigService
> ------------------------------------
>
>                 Key: STONEHENGE-83
>                 URL: https://issues.apache.org/jira/browse/STONEHENGE-83
>             Project: Stonehenge
>          Issue Type: Improvement
>            Reporter: Avantika Agrawal
>            Priority: Minor
>             Fix For: M2
>
>         Attachments: STONEHENGE-83-ExampleLogger.patch, Stonehenge-83.patch
>
>
> The Configuration Service needs a couple of refinements so that it handles 
> all test cases appropriately. 
> Null responses from the database
> Fix/Catch Exception handling in Console Apps.
> Control Validators in the user interface

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to