Click here to Skip to main content
15,888,461 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralException Tolerance Pin
Brady Kelly10-Apr-08 22:33
Brady Kelly10-Apr-08 22:33 
GeneralRe: Exception Tolerance Pin
Pete O'Hanlon10-Apr-08 23:22
mvePete O'Hanlon10-Apr-08 23:22 
GeneralRe: Exception Tolerance Pin
Brady Kelly11-Apr-08 3:42
Brady Kelly11-Apr-08 3:42 
GeneralRe: Exception Tolerance Pin
Pete O'Hanlon11-Apr-08 4:33
mvePete O'Hanlon11-Apr-08 4:33 
GeneralRe: Exception Tolerance Pin
Brady Kelly11-Apr-08 4:59
Brady Kelly11-Apr-08 4:59 
GeneralRe: Exception Tolerance Pin
Pete O'Hanlon15-Apr-08 23:16
mvePete O'Hanlon15-Apr-08 23:16 
GeneralRe: Exception Tolerance Pin
PIEBALDconsult16-Apr-08 4:30
mvePIEBALDconsult16-Apr-08 4:30 
Questionhow to: Pass status information through tiers? Pin
theitmueller10-Apr-08 5:01
theitmueller10-Apr-08 5:01 
Hi at all,

my team is stuck with a problem that we get not solved reading books as we do not get answers from reading rather than more questions.
To be honest, we are OO-novices.

Situation:
We are developing as 3-tier application with .Net 2.0 using remoting for the communication between the client and the application server.

We have some complex business logic to implement that requieres certain checks that may result in terminating the business process.
Problem: we have to give the user a exact status information what went wrong to give him a chance to correct the problem. A message "your action was not completed successfully" is not enough, we have to be very precise.

Our first approach was to use exceptions (user exception classes derived form "ApplicationExcpetion") but as far as we found out by further reading this is not recommended as exception should only be used as the "emergency exit" if something unexcpected happens. This is expected behaviour of the method.
And now the question: how else can we solve the problem?

Status values can not be return values (which is also bad design), and just returning "NOTHING" in a object doesn't do the job for us. Remote events are critical to coordinate with the running business process that will terminate.

Any solution or a hint for further reading on this problem is greatly appreciated.

Thank's in advance

Thomas
AnswerRe: how to: Pass status information through tiers? Pin
Luc Pattyn10-Apr-08 6:42
sitebuilderLuc Pattyn10-Apr-08 6:42 
AnswerRe: how to: Pass status information through tiers? Pin
Mark Churchill10-Apr-08 20:10
Mark Churchill10-Apr-08 20:10 
AnswerRe: how to: Pass status information through tiers? Pin
Member 9611-Apr-08 8:43
Member 9611-Apr-08 8:43 
AnswerRe: how to: Pass status information through tiers? Pin
Member 247162112-Apr-08 1:00
Member 247162112-Apr-08 1:00 
AnswerRe: how to: Pass status information through tiers? Pin
stavinski12-Apr-08 11:55
stavinski12-Apr-08 11:55 
AnswerRe: how to: Pass status information through tiers? Pin
Oakman17-Apr-08 14:10
Oakman17-Apr-08 14:10 
QuestionBest Design approach - thoughts; ideas; comments Pin
JoeContreras10-Apr-08 3:16
JoeContreras10-Apr-08 3:16 
GeneralRe: Best Design approach - thoughts; ideas; comments Pin
Pete O'Hanlon10-Apr-08 3:27
mvePete O'Hanlon10-Apr-08 3:27 
GeneralRe: Best Design approach - thoughts; ideas; comments Pin
Member 9611-Apr-08 8:52
Member 9611-Apr-08 8:52 
QuestionDesign Methods ?? Pin
Julia4u9-Apr-08 11:52
Julia4u9-Apr-08 11:52 
AnswerRe: Design Methods ?? Pin
Pete O'Hanlon9-Apr-08 11:58
mvePete O'Hanlon9-Apr-08 11:58 
General[Message Deleted] Pin
Julia4u9-Apr-08 12:05
Julia4u9-Apr-08 12:05 
GeneralRe: Design Methods ?? Pin
Julia4u9-Apr-08 12:06
Julia4u9-Apr-08 12:06 
AnswerRe: Design Methods ?? Pin
Ravi Bhavnani9-Apr-08 12:03
professionalRavi Bhavnani9-Apr-08 12:03 
Answeris this forum dead? Pin
Luc Pattyn9-Apr-08 12:08
sitebuilderLuc Pattyn9-Apr-08 12:08 
AnswerRe: Design Methods ?? Pin
Julia4u9-Apr-08 16:02
Julia4u9-Apr-08 16:02 
GeneralRe: Design Methods ?? Pin
Shog99-Apr-08 16:31
sitebuilderShog99-Apr-08 16:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.