Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error Logs

 
Rachna Chaturvedi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Is it expected to write error messages to a log file , or is it just enough to chain the exception and give a message to the user ???
what level of error logging is expected ???

Thanks
Rachna
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need to log the errors in the submission. However, it can be very helpful to you in debugging, but just remove the code before submitting.
Sending error to users is always a good user friendly way, with a message that users can understand, no stacktraces.
Mark
 
Rachna Chaturvedi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mark, can you please answer another two question for me
- Should a transaction report be given to the user as well, logging all his interactions with GUI ??
- Do we need to indicate how they can test the datbase locking mechanism ??? or the testers have a stub they can use to test this functionality ?? I mean how do they know databsae locking works ???
- Are scripts to start and stop needed both in .bat and .ksh forms ???
I am actually planning to upload it in the next week and am having last minutes jitters
Thanks again
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should not include script files to run your app, in your readme.txt you can tell them how to run you app.
Transaction Report? Not sure what you mean here. What I believe you are saying is this. In my submission, when a client books a flight a confirmation screen pops up saying they just booked this flight and how many seats. If it failed the screen says, "sorry not booked".
You do not need to tell the assessor how to test the locking, they have classes already built to test.
They are pros at this.
Mark
 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi racho,
Do as mark antony says. If you do according to him you will surely enjoy the grapes of sun developer certi.
gurpreet
 
Rachna Chaturvedi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THanks all valualble feedback , It has helped . And hope i pass after all this
:roll:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic