Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: email from catch or exception Date: Wed, 11 Dec 2013 18:13:14 -0500 Organization: A noiseless patient Spider Lines: 14 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 11 Dec 2013 23:13:16 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="858a9d65d95f4ea4d355bd116aa2cdbf"; logging-data="18000"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198Qo8KFiy7oUr9WCGdxrbk" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: Cancel-Lock: sha1:HlVIflmWZdhvNHQ8gYsR6FTkTTk= Xref: csiph.com comp.lang.java.programmer:26841 On 12/11/2013 5:55 PM, RVic wrote: > Is anyone aware of a public domain package that can email you on an error, include the stack trace or log, whenever an exception occurs? Thank you, RVic I think you'd have to modify the JVM itself to do this. But you wouldn't want to: If you got an E-mail for every exception thrown, you'd drown in E-mail. Presumably, what you really want is E-mail about "important" exceptions, and the hard part is clarifying what "important" means. Could you describe your use case in more detail? -- Eric Sosman esosman@comcast-dot-net.invalid