public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: pmuldoon@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Tweak Error values in common utilities. Date: Fri, 07 Dec 2007 16:49:00 -0000 [thread overview] Message-ID: <20071207164924.19009.qmail@sourceware.org> (raw) The branch, master has been updated via f58119c5647ea4f0fde832a9bb080227926a52db (commit) from 01f016ef60b42e011ffa962ef5524c687e0293ef (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit f58119c5647ea4f0fde832a9bb080227926a52db Author: Phil Muldoon <pmuldoon@redhat.com> Date: Fri Dec 7 16:49:17 2007 +0000 Tweak Error values in common utilities. 2007-12-07 Phil Muldoon <pmuldoon@redhat.com> * Util.java (getProcFromCoreFile): Tweak Error text. (getProcFromCoreExePair): Ditto. (getProcFromPid): Ditto. (getProcFromExeFile)L Ditto. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/util/ChangeLog | 5 +++++ frysk-core/frysk/util/Util.java | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/util/ChangeLog b/frysk-core/frysk/util/ChangeLog index c404a5b..fa30995 100644 --- a/frysk-core/frysk/util/ChangeLog +++ b/frysk-core/frysk/util/ChangeLog @@ -1,5 +1,10 @@ 2007-12-07 Phil Muldoon <pmuldoon@redhat.com> + * Util.java (getProcFromCoreFile): Tweak Error text. + (getProcFromCoreExePair): Ditto. + (getProcFromPid): Ditto. + (getProcFromExeFile)L Ditto. + * AuxvStringBuilder.java: New. 2007-12-04 Andrew Cagney <cagney@redhat.com> diff --git a/frysk-core/frysk/util/Util.java b/frysk-core/frysk/util/Util.java index 828b859..59be104 100644 --- a/frysk-core/frysk/util/Util.java +++ b/frysk-core/frysk/util/Util.java @@ -1,6 +1,6 @@ // This file is part of the program FRYSK. // -// Copyright 2005, Red Hat Inc. +// Copyright 2005, 2007, Red Hat Inc. // // FRYSK is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by @@ -73,10 +73,10 @@ public class Util else { proc = null; - throw new RuntimeException("No proc in this corefile"); + throw new RuntimeException("Cannot find a process in this corefile."); } if (iterator.hasNext()) - throw new RuntimeException("Too many procs on this corefile"); + throw new RuntimeException("Too many processes in this corefile."); return proc; } @@ -93,10 +93,10 @@ public class Util else { proc = null; - throw new RuntimeException("No proc in this corefile"); + throw new RuntimeException("Cannot find a process in this corefile."); } if (iterator.hasNext()) - throw new RuntimeException("Too many procs on this corefile"); + throw new RuntimeException("Too many processes in this corefile."); return proc; } @@ -125,8 +125,8 @@ public class Util public void procNotFound (ProcId procId, Exception e) { - System.err.println("Couldn't find the process: " - + procId.toString()); + System.err.println("Could not find the process: " + + procId.intValue()); Manager.eventLoop.requestStop(); } } @@ -151,10 +151,10 @@ public class Util else { proc = null; - throw new RuntimeException("No proc in this exefile"); + throw new RuntimeException("Cannot find a process in this executable."); } if (iterator.hasNext()) - throw new RuntimeException("Too many procs in this exefile"); + throw new RuntimeException("Too many processes in this executable."); return proc; } hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2007-12-07 16:49 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20071207164924.19009.qmail@sourceware.org \ --to=pmuldoon@sourceware.org \ --cc=frysk-cvs@sourceware.org \ --cc=frysk@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).