Commit 4d6059a9 authored by Stuart Sides's avatar Stuart Sides
Browse files

PROG Fixed error message. #Ref 4947

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@7995 41f8697f-d340-4b68-9986-7bafba869bb8
parent 97a651c5
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -355,7 +355,13 @@ namespace Isis {

          // Try using the BODYbodycode_RADII keyword in the NaifKeywords PVL object
          SpiceInt bodyCode = 0;
          try {
            bodyCode = lookupNaifBodyCode(target);
          }
          catch (IException &e2) {
            throw IException(e, IException::Unknown, e2.what(), _FILEINFO_);
          }

          QString radiiKeyword = "BODY" + toString(int(bodyCode)) + "_RADII";

          if (naifKeywords.hasKeyword(radiiKeyword)) {
+1 −0
Original line number Diff line number Diff line
@@ -191,6 +191,7 @@ End_Group

RETURNS: 

**ERROR** **I/O ERROR** Could not convert Target [Chewbaca] to NAIF body code.
**ERROR** Unable to find radii for target code [2101955]. Target code was not found in furnished kernels.
**ERROR** An unknown NAIF error has been encountered. The short explanation provided by NAIF is [SPICE(KERNELVARNOTFOUND)]. The Naif error is [The variable BODY2101955_RADII could not be found in the kernel pool.].
-------------------------------