Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34630
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Could not find or load main class com.mindprod.ensure.Ensure |
| Date | 2016-06-14 15:11 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <njp6ql$aa3$1@dont-email.me> (permalink) |
| References | (3 earlier) <njnkkt$jeh$1@dont-email.me> <njnoa4$17j3$1@gioia.aioe.org> <njnrth$606$1@dont-email.me> <njomij$ev7$1@dont-email.me> <c7b7d65c-f62a-46fc-8f33-4d69a54ee37f@googlegroups.com> |
On Tue, 14 Jun 2016 04:59:20 -0700, Eric Douglas wrote:
> We add an email to IT with a screenshot and full details of the error on
> all our crash logs.
>
Yes, that's a nice approach.
What I was really getting at is that using the syslog to record problems
is great if your code is running on Linux. some UNIX flavour or a
mainframe. The Linux/UNIX logging system is really flexible so you can
even dedicate a log file series to each production system running on the
host system and have it automatically mail the day's log messages to the
relevant sysadmin or maintenance team. Macs should also be able to do
this since they're essentially running BSD.
However, if your code is running on a PC and you want to capture client
problems rather than server issues, something like Eric suggests is about
the best you can do.
> It's mostly the end user you're worrying about crashing the programs, so
> aside from notifying IT, it should catch all errors to display a user
> friendly message, then restart or exit if necessary with as much cleanup
> as possible.
>
I'd hope that code released to end-users couldn't be crashed by them, but
I know what you mean: how you think users will use a set of screens and
what they actually do with them can differ quite radically.
That said, exactly what you end up doing can be influenced by your user's
attitude to the system and their background. Example: way back when I
designed BBC Radio 3's music planning system the users were enthusiastic
about the system because they'd asked for it. The music planning
department was largely staffed by musicologists with relevant degrees.
The system ran on a mainframe. As a consequence, we also gave the music
planners access to the screen we used to control tracing and debugging
during development. If they hit a problem we'd talk it over on the phone
and, if it couldn't be resolved on the spot, we'd ask them to turn on
tracing, cause the problem again and then turn tracing off. We'd get the
printout the next day and talk to the planners as soon as we'd decided
what the problem was and decide how we'd resolve it. Result: everybody
was happy and we had exactly what we needed to decide what needed to be
done.
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Could not find or load main class com.mindprod.ensure.Ensure Roedy Green <inquiry@mindprod.com> - 2016-06-13 06:51 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Roedy Green <inquiry@mindprod.com> - 2016-06-13 07:02 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Douglas <e.d.programmer@gmail.com> - 2016-06-13 07:15 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Roedy Green <inquiry@mindprod.com> - 2016-06-13 07:35 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Lew <lewbloch@gmail.com> - 2016-06-13 13:48 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Roedy Green <inquiry@mindprod.com> - 2016-06-13 14:11 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-06-13 20:54 -0400
Re: Could not find or load main class com.mindprod.ensure.Ensure Arne Vajhøj <arne@vajhoej.dk> - 2016-06-13 21:57 -0400
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-06-13 22:58 -0400
Re: Could not find or load main class com.mindprod.ensure.Ensure Martin Gregorie <martin@address-in-sig.invalid> - 2016-06-14 10:33 +0000
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Douglas <e.d.programmer@gmail.com> - 2016-06-14 04:59 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Martin Gregorie <martin@address-in-sig.invalid> - 2016-06-14 15:11 +0000
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-06-14 11:31 -0400
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Douglas <e.d.programmer@gmail.com> - 2016-06-14 09:00 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-06-14 13:18 -0400
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Douglas <e.d.programmer@gmail.com> - 2016-06-14 10:38 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Lew <lewbloch@gmail.com> - 2016-06-14 12:55 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Douglas <e.d.programmer@gmail.com> - 2016-06-14 13:14 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Lew <lewbloch@gmail.com> - 2016-06-14 13:34 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Douglas <e.d.programmer@gmail.com> - 2016-06-14 13:58 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Lew <lewbloch@gmail.com> - 2016-06-14 12:52 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Stanimir Stamenkov <s7an10@netscape.net> - 2016-06-15 02:46 +0300
Re: Could not find or load main class com.mindprod.ensure.Ensure Lew <lewbloch@gmail.com> - 2016-06-15 12:22 -0700
Re: Could not find or load main class com.mindprod.ensure.Ensure Martin Gregorie <martin@address-in-sig.invalid> - 2016-06-16 01:17 +0000
Re: Could not find or load main class com.mindprod.ensure.Ensure Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-06-15 21:56 -0400
Re: Could not find or load main class com.mindprod.ensure.Ensure Martin Gregorie <martin@address-in-sig.invalid> - 2016-06-16 11:01 +0000
csiph-web