File: exceptions.yo

package info (click to toggle)
c%2B%2B-annotations 10.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,536 kB
  • ctags: 3,247
  • sloc: cpp: 19,157; makefile: 1,521; ansic: 165; sh: 128; perl: 90
file content (68 lines) | stat: -rw-r--r-- 1,767 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
includefile(exceptions/intro)

sect(Exception syntax)
includefile(exceptions/syntax)

lsect(BASICEXCEPTION)(An example using exceptions)
includefile(exceptions/example)

    lsubsect(EXCEPTIONJMP)(Anachronisms: `setjmp' and `longjmp')
    includefile(exceptions/jmp)

    subsect(Exceptions: the preferred alternative)
    includefile(exceptions/exception)

lsect(THROW)(Throwing exceptions)
includefile(exceptions/throw)

    lsubsect(EMPTYTHROW)(The empty `throw' statement)
    includefile(exceptions/emptythrow)

sect(The try block)
includefile(exceptions/try)

lsect(EXCEPTIONCATCH)(Catching exceptions)
includefile(exceptions/catch)

    subsect(The default catcher)
    includefile(exceptions/defaultcatch)

sect(Declaring exception throwers (deprecated))
includefile(exceptions/declaring)

lsect(IOEXCEPTIONS)(Iostreams and exceptions)
includefile(exceptions/iostreams)

lsect(STDEXC)(Standard exceptions)
includefile(exceptions/standard)
    
    subsect(Standard exceptions: to use or not to use?)
    includefile(exceptions/usestandard.yo)

lsect(SYSTEMERROR)(System error, error code and error category)
includefile(exceptions/systemerror)

    subsect(The class `std::error_code')
    includefile(exceptions/errorcode)

    subsect(The class `std::error_category')
    includefile(exceptions/errorcategory)

sect(Exception guarantees)
includefile(exceptions/guarantees)

    subsect(The basic guarantee)
    includefile(exceptions/basic)

    subsect(The strong guarantee)
    includefile(exceptions/strong)

    subsect(The nothrow guarantee)
    includefile(exceptions/nothrow)

lsect(FUNTRY)(Function try blocks)
includefile(exceptions/function)

lsect(CONSEXCEPTIONS)(Exceptions in constructors and destructors)
includefile(exceptions/constructors)