libtime++: Date and time calculation

◆ time_util_fatal__()

int time_util_fatal__ ( char *  caller,
char *  text,
time_kernel::ftnlen  caller_len,
time_kernel::ftnlen  text_len 
)

Definition at line 44 of file cxxtime_util_fatal.cc.

47 {
48  std::string callerstring, textstring;
49  int i;
50  for (i=0; i<caller_len; i++) { callerstring += *(caller++); }
51  for (i=0; i<text_len; i++) { textstring += *(text++); }
52  std::string message="ERROR ("+callerstring+"): "+textstring;
53  throw(libtime::Exception(message.c_str()));
54  return(0);
55 } /* time_util_fatal__ */