/usr/include/ossim/base/ossimException.h is in libossim-dev 1.8.16-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | //----------------------------------------------------------------------------
// License: See top level LICENSE.txt file.
//
// Author: David Burken
//
// Description: Generic OSSIM Exception that is a std::exception with a
// what() method implemented.
//----------------------------------------------------------------------------
// $Id: ossimException.h 10029 2006-12-04 23:23:11Z dburken $
#ifndef ossimException_HEADER
#define ossimException_HEADER
#include <exception>
#include <string>
#include <ossim/base/ossimConstants.h>
class OSSIM_DLL ossimException : public std::exception
{
public:
/** @brief default construction */
ossimException() throw();
/**
* @brief construction that takes an error string.
* @param errorMessage The error message.
*/
ossimException(const std::string& errorMessage) throw();
/** @brief virtual destructor. */
virtual ~ossimException() throw();
/**
* @brief Returns the error message.
* @return The error message as a C-style character string.
*/
virtual const char* what() const throw();
private:
/** This is the error message returned by what(). */
std::string theErrorMessage;
};
#endif /* End of #ifndef ossimException_HEADER */
|