[rtems-tools commit] toolkit: Raise a user error and not an internal one.

Chris Johns chrisj at rtems.org
Sun Nov 30 21:30:50 UTC 2014


Module:    rtems-tools
Branch:    master
Commit:    066a64b7454e30d421e557043c86afe82d5af5af
Changeset: http://git.rtems.org/rtems-tools/commit/?id=066a64b7454e30d421e557043c86afe82d5af5af

Author:    Chris Johns <chrisj at rtems.org>
Date:      Sat Nov  8 17:59:40 2014 +1100

toolkit: Raise a user error and not an internal one.

---

 rtemstoolkit/rld-files.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtemstoolkit/rld-files.cpp b/rtemstoolkit/rld-files.cpp
index 201f604..5bc266c 100644
--- a/rtemstoolkit/rld-files.cpp
+++ b/rtemstoolkit/rld-files.cpp
@@ -1502,7 +1502,7 @@ namespace rld
       {
         objects::const_iterator oi = objects_.find (*pi);
         if (oi == objects_.end ())
-          throw rld_error_at ("path not found in objects");
+          throw rld::error ("Not located or a valid format", *pi);
         list.push_back ((*oi).second);
       }
     }



More information about the vc mailing list