Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best deffense when your application throws an exception in the middle of the demo? [closed]

What is the most useful strategy when your application throws an exception in the middle of the demo, in terms of keeping the client's mood still positive?

like image 668
pencilCake Avatar asked Jan 13 '10 14:01

pencilCake


People also ask

What would you do when you receive an exception in your application?

Generally speaking an exception is because something bad and unexpected happened, and so you should let it rise up, notify the user, do some logging, and then move on. In general, it should terminate the application (or request).

How do you handle exceptions in Microservices?

First, we need to set up the capability of throwing exceptions on core banking service errors. Open core banking service and follow the steps. Create a common exception class where we going to extend RuntimeException. After that, we can create custom runtime exceptions to use with this API.

How do you handle exceptions?

The try-catch is the simplest method of handling exceptions. Put the code you want to run in the try block, and any Java exceptions that the code throws are caught by one or more catch blocks. This method will catch any type of Java exceptions that get thrown. This is the simplest mechanism for handling exceptions.

Who should be responsible for catching and handling exceptions the computer or the computer program?

The one responsible for catching and handling exceptions is the computer program. In Java, “an exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's instructions” (Oracle, n., par. 1).


2 Answers

If your client doesn't trust you, there's nothing you can really do. I build trust with my clients so when something like this happens, they believe me when I give them an explanation. And when I tell them what I'm going to do to prevent future problems, I make sure to follow through.

Depending if this is a "final" demo or if its a mid-project demo will also affect whether you can really alleviate the customers' concerns. There's very little you can do to make the customer happy if it's the end of the contract and there's no more budget for testing and bug-fixes.

One generic strategy I've used: if you have someone in the room document the exception/problem in front of the customer and let them know it is going into the bug tracking system for investigation and testing, that will demonstrate to them due-dilligence and alleviate some concern. You, of course, need to follow through and make sure to fix the problem.

like image 70
James Schek Avatar answered Sep 25 '22 16:09

James Schek


Just tell the truth but humorously, like saying apparently our software is still not that perfect, and we are keeping making it perfect.

don't ever lie or try to cover it up. clients are not dumb.

like image 30
Benny Avatar answered Sep 23 '22 16:09

Benny