File: classOpenMS_1_1Exception_1_1BaseException.html

package info (click to toggle)
openms 1.11.1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 436,688 kB
  • ctags: 150,907
  • sloc: cpp: 387,126; xml: 71,547; python: 7,764; ansic: 2,626; php: 2,499; sql: 737; ruby: 342; sh: 325; makefile: 128
file content (634 lines) | stat: -rw-r--r-- 39,388 bytes parent folder | download
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
<HTML>
<HEAD>
<TITLE>BaseException Class Reference</TITLE>
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
<LINK HREF="style_ini.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<A href="index.html">Home</A> &nbsp;&middot;
<A href="classes.html">Classes</A> &nbsp;&middot;
<A href="annotated.html">Annotated Classes</A> &nbsp;&middot;
<A href="modules.html">Modules</A> &nbsp;&middot;
<A href="functions_func.html">Members</A> &nbsp;&middot;
<A href="namespaces.html">Namespaces</A> &nbsp;&middot;
<A href="pages.html">Related Pages</A>
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<!-- Generated by Doxygen 1.8.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceOpenMS.html">OpenMS</a></li><li class="navelem"><a class="el" href="namespaceOpenMS_1_1Exception.html">Exception</a></li><li class="navelem"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html">BaseException</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classOpenMS_1_1Exception_1_1BaseException-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">BaseException Class Reference<div class="ingroups"><a class="el" href="group__Exceptions.html">Exceptions</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="namespaceOpenMS_1_1Exception.html" title="Exception namespace ">Exception</a> base class.  
 <a href="classOpenMS_1_1Exception_1_1BaseException.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Exception_8h_source.html">OpenMS/CONCEPT/Exception.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for BaseException:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classOpenMS_1_1Exception_1_1BaseException.png" usemap="#BaseException_map" alt=""/>
  <map id="BaseException_map" name="BaseException_map">
<area href="classOpenMS_1_1BinnedSpectrum_1_1NoSpectrumIntegrated.html" title="Exception which is thrown if BinnedSpectrum bins are accessed and no PeakSpektrum has been integrated..." alt="BinnedSpectrum::NoSpectrumIntegrated" shape="rect" coords="182,112,354,136"/>
<area href="classOpenMS_1_1BinnedSpectrumCompareFunctor_1_1IncompatibleBinning.html" title="Exception thrown if compared spectra are incompatible. " alt="BinnedSpectrumCompareFunctor::IncompatibleBinning" shape="rect" coords="182,168,354,192"/>
<area href="classOpenMS_1_1ClusterFunctor_1_1InsufficientInput.html" title="Exception thrown if not enough data (&lt;2) is used. " alt="ClusterFunctor::InsufficientInput" shape="rect" coords="182,224,354,248"/>
<area href="classOpenMS_1_1DBConnection_1_1InvalidQuery.html" title="Exception in case of an invalid Query. " alt="DBConnection::InvalidQuery" shape="rect" coords="182,280,354,304"/>
<area href="classOpenMS_1_1DBConnection_1_1NotConnected.html" title="Exception in case of trying to execute a query without having established a database connection..." alt="DBConnection::NotConnected" shape="rect" coords="182,336,354,360"/>
<area href="classOpenMS_1_1Exception_1_1BufferOverflow.html" title="Buffer overflow exception. " alt="BufferOverflow" shape="rect" coords="182,392,354,416"/>
<area href="classOpenMS_1_1Exception_1_1ConversionError.html" title="Invalid conversion exception. " alt="ConversionError" shape="rect" coords="182,448,354,472"/>
<area href="classOpenMS_1_1Exception_1_1DepletedIDPool.html" title="Exception used if no more unique document ID&#39;s can be drawn from ID pool. " alt="DepletedIDPool" shape="rect" coords="182,504,354,528"/>
<area href="classOpenMS_1_1Exception_1_1DivisionByZero.html" title="Division by zero error exception. " alt="DivisionByZero" shape="rect" coords="182,560,354,584"/>
<area href="classOpenMS_1_1Exception_1_1ElementNotFound.html" title="Element could not be found exception. " alt="ElementNotFound" shape="rect" coords="182,616,354,640"/>
<area href="classOpenMS_1_1Exception_1_1FailedAPICall.html" title="A call to an external library (other than OpenMS) went wrong. " alt="FailedAPICall" shape="rect" coords="182,672,354,696"/>
<area href="classOpenMS_1_1Exception_1_1FileEmpty.html" title="File is empty. " alt="FileEmpty" shape="rect" coords="182,728,354,752"/>
<area href="classOpenMS_1_1Exception_1_1FileNotFound.html" title="File not found exception. " alt="FileNotFound" shape="rect" coords="182,784,354,808"/>
<area href="classOpenMS_1_1Exception_1_1FileNotReadable.html" title="File not readable exception. " alt="FileNotReadable" shape="rect" coords="182,840,354,864"/>
<area href="classOpenMS_1_1Exception_1_1FileNotWritable.html" title="File not writable exception. " alt="FileNotWritable" shape="rect" coords="182,896,354,920"/>
<area href="classOpenMS_1_1Exception_1_1IllegalArgument.html" title="A method or algorithm argument contains illegal values. " alt="IllegalArgument" shape="rect" coords="182,952,354,976"/>
<area href="classOpenMS_1_1Exception_1_1IllegalPosition.html" title="Invalid 3-dimensional position exception. " alt="IllegalPosition" shape="rect" coords="182,1008,354,1032"/>
<area href="classOpenMS_1_1Exception_1_1IllegalSelfOperation.html" title="Illegal self operation exception. " alt="IllegalSelfOperation" shape="rect" coords="182,1064,354,1088"/>
<area href="classOpenMS_1_1Exception_1_1IllegalTreeOperation.html" title="Illegal tree operation exception. " alt="IllegalTreeOperation" shape="rect" coords="182,1120,354,1144"/>
<area href="classOpenMS_1_1Exception_1_1IncompatibleIterators.html" title="Incompatible iterator exception. " alt="IncompatibleIterators" shape="rect" coords="182,1176,354,1200"/>
<area href="classOpenMS_1_1Exception_1_1IndexOverflow.html" title="Int overflow exception. " alt="IndexOverflow" shape="rect" coords="182,1232,354,1256"/>
<area href="classOpenMS_1_1Exception_1_1IndexUnderflow.html" title="Int underflow exception. " alt="IndexUnderflow" shape="rect" coords="182,1288,354,1312"/>
<area href="classOpenMS_1_1Exception_1_1InvalidIterator.html" title="Invalid iterator exception. " alt="InvalidIterator" shape="rect" coords="182,1344,354,1368"/>
<area href="classOpenMS_1_1Exception_1_1InvalidParameter.html" title="Exception indicating that an invalid parameter was handed over to an algorithm. " alt="InvalidParameter" shape="rect" coords="182,1400,354,1424"/>
<area href="classOpenMS_1_1Exception_1_1InvalidRange.html" title="Invalid range exception. " alt="InvalidRange" shape="rect" coords="182,1456,354,1480"/>
<area href="classOpenMS_1_1Exception_1_1InvalidSize.html" title="Invalid UInt exception. " alt="InvalidSize" shape="rect" coords="182,1512,354,1536"/>
<area href="classOpenMS_1_1Exception_1_1InvalidValue.html" title="Invalid value exception. " alt="InvalidValue" shape="rect" coords="182,1568,354,1592"/>
<area href="classOpenMS_1_1Exception_1_1IOException.html" title="General IOException. " alt="IOException" shape="rect" coords="182,1624,354,1648"/>
<area href="classOpenMS_1_1Exception_1_1MissingInformation.html" title="Not all required information provided. " alt="MissingInformation" shape="rect" coords="182,1680,354,1704"/>
<area href="classOpenMS_1_1Exception_1_1NotImplemented.html" title="Not implemented exception. " alt="NotImplemented" shape="rect" coords="182,1736,354,1760"/>
<area href="classOpenMS_1_1Exception_1_1NullPointer.html" title="Null pointer argument is invalid exception. " alt="NullPointer" shape="rect" coords="182,1792,354,1816"/>
<area href="classOpenMS_1_1Exception_1_1OutOfGrid.html" title="Out of grid exception. " alt="OutOfGrid" shape="rect" coords="182,1848,354,1872"/>
<area href="classOpenMS_1_1Exception_1_1OutOfMemory.html" title="Out of memory exception. " alt="OutOfMemory" shape="rect" coords="182,1904,354,1928"/>
<area href="classOpenMS_1_1Exception_1_1OutOfRange.html" title="Out of range exception. " alt="OutOfRange" shape="rect" coords="182,1960,354,1984"/>
<area href="classOpenMS_1_1Exception_1_1ParseError.html" title="Parse Error exception. " alt="ParseError" shape="rect" coords="182,2016,354,2040"/>
<area href="classOpenMS_1_1Exception_1_1Postcondition.html" title="Postcondition failed exception. " alt="Postcondition" shape="rect" coords="182,2072,354,2096"/>
<area href="classOpenMS_1_1Exception_1_1Precondition.html" title="Precondition failed exception. " alt="Precondition" shape="rect" coords="182,2128,354,2152"/>
<area href="classOpenMS_1_1Exception_1_1RequiredParameterNotGiven.html" title="A required parameter was not given. " alt="RequiredParameterNotGiven" shape="rect" coords="182,2184,354,2208"/>
<area href="classOpenMS_1_1Exception_1_1SizeUnderflow.html" title="UInt underflow exception. " alt="SizeUnderflow" shape="rect" coords="182,2240,354,2264"/>
<area href="classOpenMS_1_1Exception_1_1UnableToCalibrate.html" title="Exception used if an error occurred while calibrating a dataset. " alt="UnableToCalibrate" shape="rect" coords="182,2296,354,2320"/>
<area href="classOpenMS_1_1Exception_1_1UnableToCreateFile.html" title="Unable to create file exception. " alt="UnableToCreateFile" shape="rect" coords="182,2352,354,2376"/>
<area href="classOpenMS_1_1Exception_1_1UnableToFit.html" title="Exception used if an error occurred while fitting a model to a given dataset. " alt="UnableToFit" shape="rect" coords="182,2408,354,2432"/>
<area href="classOpenMS_1_1Exception_1_1UnregisteredParameter.html" title="An unregistered parameter was accessed. " alt="UnregisteredParameter" shape="rect" coords="182,2464,354,2488"/>
<area href="classOpenMS_1_1Exception_1_1WrongParameterType.html" title="A parameter was accessed with the wrong type. " alt="WrongParameterType" shape="rect" coords="182,2520,354,2544"/>
<area href="classOpenMS_1_1FeatureFinderDefs_1_1NoSuccessor.html" title="Exception that is thrown if a method an invalid IndexPair is given. " alt="FeatureFinderDefs::NoSuccessor" shape="rect" coords="182,2576,354,2600"/>
<area href="classOpenMS_1_1Internal_1_1XMLHandler_1_1EndParsingSoftly.html" title="Exception that is thrown if the parsing is ended by some event (e.g. if only a prefix of the XML file..." alt="XMLHandler::EndParsingSoftly" shape="rect" coords="182,2632,354,2656"/>
<area href="classOpenMS_1_1Map_1_1IllegalKey.html" title="Map illegal key exception. " alt="Map&lt; Key, T &gt;::IllegalKey" shape="rect" coords="182,2688,354,2712"/>
<area href="classOpenMS_1_1UnnormalizedComparator.html" title="Exception thrown if clustering is attempted without a normalized compare functor. ..." alt="UnnormalizedComparator" shape="rect" coords="182,2744,354,2768"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors and Destructors</div></td></tr>
<tr class="memitem:ac6d502bbc016ae26c000b8fbe6b6175c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#ac6d502bbc016ae26c000b8fbe6b6175c">BaseException</a> ()  throw ()</td></tr>
<tr class="memdesc:ac6d502bbc016ae26c000b8fbe6b6175c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#ac6d502bbc016ae26c000b8fbe6b6175c">More...</a><br/></td></tr>
<tr class="separator:ac6d502bbc016ae26c000b8fbe6b6175c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1deaf4b95ee99213b64d55e2ecc34f57"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a1deaf4b95ee99213b64d55e2ecc34f57">BaseException</a> (const char *file, int line, const char *function)  throw ()</td></tr>
<tr class="memdesc:a1deaf4b95ee99213b64d55e2ecc34f57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a1deaf4b95ee99213b64d55e2ecc34f57">More...</a><br/></td></tr>
<tr class="separator:a1deaf4b95ee99213b64d55e2ecc34f57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74055bc59feafbd23265732171e2c1f6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a74055bc59feafbd23265732171e2c1f6">BaseException</a> (const char *file, int line, const char *function, const std::string &amp;name, const std::string &amp;message)  throw ()</td></tr>
<tr class="memdesc:a74055bc59feafbd23265732171e2c1f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a74055bc59feafbd23265732171e2c1f6">More...</a><br/></td></tr>
<tr class="separator:a74055bc59feafbd23265732171e2c1f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08c4de2ee8b8f143397d97751e24589f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a08c4de2ee8b8f143397d97751e24589f">BaseException</a> (const <a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html">BaseException</a> &amp;exception)  throw ()</td></tr>
<tr class="memdesc:a08c4de2ee8b8f143397d97751e24589f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a08c4de2ee8b8f143397d97751e24589f">More...</a><br/></td></tr>
<tr class="separator:a08c4de2ee8b8f143397d97751e24589f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adce84f9a07c4881caa12c31f25afe410"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#adce84f9a07c4881caa12c31f25afe410">~BaseException</a> ()  throw ()</td></tr>
<tr class="memdesc:adce84f9a07c4881caa12c31f25afe410"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#adce84f9a07c4881caa12c31f25afe410">More...</a><br/></td></tr>
<tr class="separator:adce84f9a07c4881caa12c31f25afe410"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr class="memitem:a2ad8ebd431528d7f92ce9a2fa14ccb34"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a2ad8ebd431528d7f92ce9a2fa14ccb34">getName</a> () const   throw ()</td></tr>
<tr class="memdesc:a2ad8ebd431528d7f92ce9a2fa14ccb34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the exception.  <a href="#a2ad8ebd431528d7f92ce9a2fa14ccb34">More...</a><br/></td></tr>
<tr class="separator:a2ad8ebd431528d7f92ce9a2fa14ccb34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff06f49065b54a8a86e02e9a2441a8ba"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#aff06f49065b54a8a86e02e9a2441a8ba">what</a> () const   throw ()</td></tr>
<tr class="memdesc:aff06f49065b54a8a86e02e9a2441a8ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the error message of the exception.  <a href="#aff06f49065b54a8a86e02e9a2441a8ba">More...</a><br/></td></tr>
<tr class="separator:aff06f49065b54a8a86e02e9a2441a8ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8a37bf1d63efaa33048d6ca827f6a57"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#ad8a37bf1d63efaa33048d6ca827f6a57">getLine</a> () const   throw ()</td></tr>
<tr class="memdesc:ad8a37bf1d63efaa33048d6ca827f6a57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the line number where it occured.  <a href="#ad8a37bf1d63efaa33048d6ca827f6a57">More...</a><br/></td></tr>
<tr class="separator:ad8a37bf1d63efaa33048d6ca827f6a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ac222f5068b80a9cc052b8ea2e8ae7f"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a1ac222f5068b80a9cc052b8ea2e8ae7f">getFile</a> () const   throw ()</td></tr>
<tr class="memdesc:a1ac222f5068b80a9cc052b8ea2e8ae7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the file where it occured.  <a href="#a1ac222f5068b80a9cc052b8ea2e8ae7f">More...</a><br/></td></tr>
<tr class="separator:a1ac222f5068b80a9cc052b8ea2e8ae7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a469d76c64ea8f1df101e5d3b4b1c81ea"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a469d76c64ea8f1df101e5d3b4b1c81ea">getFunction</a> () const   throw ()</td></tr>
<tr class="memdesc:a469d76c64ea8f1df101e5d3b4b1c81ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the function where it occured.  <a href="#a469d76c64ea8f1df101e5d3b4b1c81ea">More...</a><br/></td></tr>
<tr class="separator:a469d76c64ea8f1df101e5d3b4b1c81ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62af73b33639d596ddc31239424bdc7a"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a62af73b33639d596ddc31239424bdc7a">getMessage</a> () const   throw ()</td></tr>
<tr class="memdesc:a62af73b33639d596ddc31239424bdc7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the message.  <a href="#a62af73b33639d596ddc31239424bdc7a">More...</a><br/></td></tr>
<tr class="separator:a62af73b33639d596ddc31239424bdc7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab424860b1bbb6f956115cf775444f21b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#ab424860b1bbb6f956115cf775444f21b">setMessage</a> (const std::string &amp;message)  throw ()</td></tr>
<tr class="memdesc:ab424860b1bbb6f956115cf775444f21b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modify the exception's error message.  <a href="#ab424860b1bbb6f956115cf775444f21b">More...</a><br/></td></tr>
<tr class="separator:ab424860b1bbb6f956115cf775444f21b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a1f340748cdde8f8781fa62b4a3562190"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a1f340748cdde8f8781fa62b4a3562190">file_</a></td></tr>
<tr class="memdesc:a1f340748cdde8f8781fa62b4a3562190"><td class="mdescLeft">&#160;</td><td class="mdescRight">The source file the exception was thrown in.  <a href="#a1f340748cdde8f8781fa62b4a3562190">More...</a><br/></td></tr>
<tr class="separator:a1f340748cdde8f8781fa62b4a3562190"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac515e5f5602db49593f96316f1b5c054"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#ac515e5f5602db49593f96316f1b5c054">line_</a></td></tr>
<tr class="memdesc:ac515e5f5602db49593f96316f1b5c054"><td class="mdescLeft">&#160;</td><td class="mdescRight">The line number the exception was thrown in.  <a href="#ac515e5f5602db49593f96316f1b5c054">More...</a><br/></td></tr>
<tr class="separator:ac515e5f5602db49593f96316f1b5c054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6daa483c4be4443dc94891ae1b7de567"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a6daa483c4be4443dc94891ae1b7de567">function_</a></td></tr>
<tr class="memdesc:a6daa483c4be4443dc94891ae1b7de567"><td class="mdescLeft">&#160;</td><td class="mdescRight">The source file the exception was thrown in.  <a href="#a6daa483c4be4443dc94891ae1b7de567">More...</a><br/></td></tr>
<tr class="separator:a6daa483c4be4443dc94891ae1b7de567"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d739cc5d335052eb9f5b2ca559b81d1"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a4d739cc5d335052eb9f5b2ca559b81d1">name_</a></td></tr>
<tr class="memdesc:a4d739cc5d335052eb9f5b2ca559b81d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the exception.  <a href="#a4d739cc5d335052eb9f5b2ca559b81d1">More...</a><br/></td></tr>
<tr class="separator:a4d739cc5d335052eb9f5b2ca559b81d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a415baaef606c6f5e5e1104719a84dc72"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html#a415baaef606c6f5e5e1104719a84dc72">what_</a></td></tr>
<tr class="memdesc:a415baaef606c6f5e5e1104719a84dc72"><td class="mdescLeft">&#160;</td><td class="mdescRight">A more detailed description of the exception's cause.  <a href="#a415baaef606c6f5e5e1104719a84dc72">More...</a><br/></td></tr>
<tr class="separator:a415baaef606c6f5e5e1104719a84dc72"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="namespaceOpenMS_1_1Exception.html" title="Exception namespace ">Exception</a> base class. </p>
<p>This class is intended as a base class for all other exceptions.</p>
<p>Each exception class should define a constructor taking a filename (string), line (int) and function name (string) as first agruments. This information is usually printed in case of an uncaught exception.</p>
<p>To support this feature, each <em>throw</em> directive should look as follows: </p>
<div class="fragment"><div class="line"><span class="keywordflow">throw</span> Exception::Exception(__FILE__, __LINE__, __PRETTY_FUNCTION__,...); </div>
</div><!-- fragment --><p><em>__FILE__</em> and <em>__LINE__</em> are built-in preprocessor macros that hold the desired information. <br/>
 <em>__PRETTY_FUNCTION__</em> is replaced by the GNU G++ compiler with the demangled name of the current function. (For other compilers it is defined as "&lt;unknown&gt;" in config.h.)</p>
<p>OpenMS provides its own <a class="el" href="classOpenMS_1_1Exception_1_1GlobalExceptionHandler.html#a31c3116122615d09816db09913050b46" title="The OPENMS replacement for terminate. ">Exception::GlobalExceptionHandler::terminate()</a> handler. This handler extracts as much information as possible from the exception, prints it to <em>cerr</em> , and finally calls exits the program cleanly (with exit code 1). This can be rather inconvenient for debugging, since you are told where the exception was thrown, but in general you do not know anything about the context. Therefore terminate() can also create a core dump. Using a debugger (e.g. <em>dbx</em> or <em>gdb</em>) you can then create a stack traceback. To create a core dump, you should set the environment variable <em>OPENMS_DUMP_CORE</em> to any (non empty) value. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac6d502bbc016ae26c000b8fbe6b6175c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html">BaseException</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default constructor. </p>

</div>
</div>
<a class="anchor" id="a1deaf4b95ee99213b64d55e2ecc34f57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html">BaseException</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>line</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>function</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a class="anchor" id="a74055bc59feafbd23265732171e2c1f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html">BaseException</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>line</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>message</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a class="anchor" id="a08c4de2ee8b8f143397d97751e24589f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html">BaseException</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html">BaseException</a> &amp;&#160;</td>
          <td class="paramname"><em>exception</em></td><td>)</td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy constructor. </p>

</div>
</div>
<a class="anchor" id="adce84f9a07c4881caa12c31f25afe410"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ~<a class="el" href="classOpenMS_1_1Exception_1_1BaseException.html">BaseException</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1ac222f5068b80a9cc052b8ea2e8ae7f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* getFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the file where it occured. </p>

<p>Referenced by <a class="el" href="classOpenMS_1_1MzMLFile.html#aed378b9a389ec00fa2b559bf7d3b710b">MzMLFile::load()</a>, and <a class="el" href="TOPPAS_8C.html#a217dbf8b442f20279ea00b898af96f52">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a469d76c64ea8f1df101e5d3b4b1c81ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* getFunction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the function where it occured. </p>

<p>Referenced by <a class="el" href="classOpenMS_1_1MzMLFile.html#aed378b9a389ec00fa2b559bf7d3b710b">MzMLFile::load()</a>.</p>

</div>
</div>
<a class="anchor" id="ad8a37bf1d63efaa33048d6ca827f6a57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getLine </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the line number where it occured. </p>

<p>Referenced by <a class="el" href="classOpenMS_1_1MzMLFile.html#aed378b9a389ec00fa2b559bf7d3b710b">MzMLFile::load()</a>, and <a class="el" href="TOPPAS_8C.html#a217dbf8b442f20279ea00b898af96f52">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a62af73b33639d596ddc31239424bdc7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* getMessage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the message. </p>

<p>Referenced by <a class="el" href="classOpenMS_1_1QApplicationTOPP.html#a0bb2f3cc6237168bf5e1f1864e8cf7ae">QApplicationTOPP::notify()</a>.</p>

</div>
</div>
<a class="anchor" id="a2ad8ebd431528d7f92ce9a2fa14ccb34"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* getName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the name of the exception. </p>

<p>Referenced by <a class="el" href="classOpenMS_1_1MzMLFile.html#aed378b9a389ec00fa2b559bf7d3b710b">MzMLFile::load()</a>, <a class="el" href="classOpenMS_1_1QApplicationTOPP.html#a0bb2f3cc6237168bf5e1f1864e8cf7ae">QApplicationTOPP::notify()</a>, <a class="el" href="classOpenMS_1_1FeatureFinderAlgorithmSimplest.html#a72fcb26a14f6beb1c3fbace9ab3e7dbb">FeatureFinderAlgorithmSimplest&lt; PeakType, FeatureType &gt;::run()</a>, and <a class="el" href="classOpenMS_1_1FeatureFinderAlgorithmSimple.html#a72fcb26a14f6beb1c3fbace9ab3e7dbb">FeatureFinderAlgorithmSimple&lt; PeakType, FeatureType &gt;::run()</a>.</p>

</div>
</div>
<a class="anchor" id="ab424860b1bbb6f956115cf775444f21b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setMessage </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>message</em></td><td>)</td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modify the exception's error message. </p>

</div>
</div>
<a class="anchor" id="aff06f49065b54a8a86e02e9a2441a8ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* what </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the error message of the exception. </p>

<p>Referenced by <a class="el" href="classOpenMS_1_1TOPPViewBase.html#a0b768098d8235f4904a38ec53ef7d984">TOPPViewBase::addDataDB()</a>, <a class="el" href="classOpenMS_1_1TOPPViewBase.html#a1c92b33d10330879ab9d4bc2bb888d07">TOPPViewBase::addDataFile()</a>, <a class="el" href="classOpenMS_1_1TOPPViewBase.html#a998e79e7149ca4ef1ca8fa1625ffa250">TOPPViewBase::annotateWithID()</a>, <a class="el" href="classOpenMS_1_1TOPPViewBase.html#a06f09695cf83b5a79005b087d1603017">TOPPViewBase::connectToDB_()</a>, <a class="el" href="classOpenMS_1_1TOPPViewBase.html#a653cd298ceb9fc75783f7ecdf476fe39">TOPPViewBase::copyLayer()</a>, <a class="el" href="classOpenMS_1_1TOPPViewBase.html#a26fb52355d1e3f483d9e9cf9d1cf6e25">TOPPViewBase::fileChanged_()</a>, <a class="el" href="TOPPAS_8C.html#a217dbf8b442f20279ea00b898af96f52">main()</a>, <a class="el" href="classOpenMS_1_1TOPPViewBase.html#ab1f7cf958ce834536a786f085c439b04">TOPPViewBase::metadataDatabaseDialog()</a>, <a class="el" href="classOpenMS_1_1TOPPViewBase.html#a78af6f231fd21f56ca7b167c51bdbb00">TOPPViewBase::metadataFileDialog()</a>, <a class="el" href="classOpenMS_1_1FeatureFinderAlgorithmSimplest.html#a72fcb26a14f6beb1c3fbace9ab3e7dbb">FeatureFinderAlgorithmSimplest&lt; PeakType, FeatureType &gt;::run()</a>, and <a class="el" href="classOpenMS_1_1TOPPViewBase.html#ad0c5e46e336d0faaea1ecb2a11e58cea">TOPPViewBase::showSpectrumGenerationDialog()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a1f340748cdde8f8781fa62b4a3562190"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char* file_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The source file the exception was thrown in. </p>

</div>
</div>
<a class="anchor" id="a6daa483c4be4443dc94891ae1b7de567"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char* function_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The source file the exception was thrown in. </p>

</div>
</div>
<a class="anchor" id="ac515e5f5602db49593f96316f1b5c054"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int line_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The line number the exception was thrown in. </p>

</div>
</div>
<a class="anchor" id="a4d739cc5d335052eb9f5b2ca559b81d1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string name_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The name of the exception. </p>

</div>
</div>
<a class="anchor" id="a415baaef606c6f5e5e1104719a84dc72"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string what_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A more detailed description of the exception's cause. </p>

</div>
</div>
</div><!-- contents -->
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<TABLE width="100%" border="0">
<TR>
<TD><font color="#c0c0c0">OpenMS / TOPP release 1.11.1</font></TD>
<TD align="right"><font color="#c0c0c0">Documentation generated on Thu Nov 14 2013 11:19:37 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>