This file is indexed.

/usr/include/synthesis/syncexception.h is in libsynthesis-dev 3.4.0.16.6-1.

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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/*
 *  File:         SyncException.cpp
 *
 *  Author:       Lukas Zeller (luz@plan44.ch)
 *
 *  TSyncException...
 *    SySync Exception classes
 *
 *  Copyright (c) 2001-2011 by Synthesis AG + plan44.ch
 *
 *  2001-05-28 : luz : created
 *
 */

#ifndef SyncException_H
#define SyncException_H

using namespace std;


namespace sysync {

#if defined(WINCE) || defined(__EPOC_OS__) || defined(ANDROID)
// eVC + EPOC cannot process throw() qualifier
#define NOTHROW
// eVC + EPOC has no exception base class
class exception
{
public:
    exception() {};
    exception(const exception&) {};
    exception& operator= (const exception&) {return *this;};
    virtual ~exception() {};
    virtual const char* what() const {return "exception";};
};
#else
#define NOTHROW throw()
#endif

class TSyncException : public exception
{
  typedef exception inherited;
public:
  TSyncException(const char *aMsg1, localstatus aLocalStatus=LOCERR_EXCEPTION) NOTHROW;
  TSyncException(localstatus aLocalStatus) NOTHROW;
  TSyncException() NOTHROW { fLocalStatus=LOCERR_EXCEPTION; };
  virtual ~TSyncException() NOTHROW;
  virtual const char * what() const NOTHROW;
  localstatus status(void) NOTHROW { return fLocalStatus; }
protected:
  void setMsg(const char *p);
  string fMessage;
private:
  localstatus fLocalStatus;
}; // TSyncException


class TSmlException : public TSyncException
{
  typedef TSyncException inherited;
public:
  TSmlException(const char *aMsg, Ret_t aSmlError) NOTHROW;
  Ret_t getSmlError(void) { return fSmlError; };
private:
  Ret_t fSmlError;
}; // TSmlException



class TStructException : public TSyncException
{
  typedef TSyncException inherited;
public:
  TStructException(const char *aMsg)  NOTHROW: TSyncException (aMsg) {};
}; // TStructException


class TMemException : public TSyncException
{
  typedef TSyncException inherited;
public:
  TMemException(const char *aMsg)  NOTHROW: TSyncException (aMsg) {};
}; // TMemException


} // namespace sysync

#endif  // SyncException_H

// eof