File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
JP2Error.cpp
1 
6 /* SPDX-License-Identifier: CC0-1.0 */
7 #include <iostream>
8 #include <string>
9 #include <sstream>
10 
11 #include "IException.h"
12 #include "JP2Error.h"
13 
14 using namespace std;
15 namespace Isis {
16 
31  void JP2Error::put_text(const char *message) {
32  Message += message;
33  }
34 
41  void JP2Error::add_text(const std::string &message) {
42  if(!Message.empty()) Message += '\n';
43  Message += message;
44  }
45 
52  void JP2Error::flush(bool end_of_message) {
53  throw IException(IException::User, Message.c_str(), _FILEINFO_);
54  }
55 }
Isis::IException
Isis exception class.
Definition: IException.h:91
std
Namespace for the standard library.
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/13/2023 15:16:44