30 SpiceChar returnAct[32] =
"RETURN";
31 SpiceChar printAct[32] =
"NONE";
32 erract_c(
"SET",
sizeof(returnAct), returnAct);
33 errprt_c(
"SET",
sizeof(printAct), printAct);
39 if(!failed_c())
return;
55 const int SHORT_DESC_LEN = 26;
56 SpiceChar naifShort[SHORT_DESC_LEN];
57 getmsg_c(
"SHORT", SHORT_DESC_LEN, naifShort);
63 const int LONG_DESC_LEN = 1841;
64 SpiceChar naifLong[LONG_DESC_LEN];
65 getmsg_c(
"LONG", LONG_DESC_LEN, naifLong);
71 PvlGroup errorDescription(
"ErrorDescription");
72 errorDescription.addKeyword(PvlKeyword(
"ShortMessage", naifShort));
73 errorDescription.addKeyword(PvlKeyword(
"LongMessage", naifLong));
74 error.addGroup(errorDescription);
82 errMsg =
"An unknown NAIF error has been encountered.";
86 errMsg +=
" " + trans.
Translate(
"LongMessage");
96 errMsg +=
" The short explanation ";
97 errMsg +=
"provided by NAIF is [" + QString(naifShort) +
"]. ";
98 errMsg +=
"The Naif error is [" + QString(naifLong) +
"]";
100 throw IException(IException::Unknown, errMsg, _FILEINFO_);