[855] | 1 | /////////////////////////////////////////////////////////////////////////// |
---|
| 2 | // |
---|
| 3 | // Copyright (c) 2002, Industrial Light & Magic, a division of Lucas |
---|
| 4 | // Digital Ltd. LLC |
---|
| 5 | // |
---|
| 6 | // All rights reserved. |
---|
| 7 | // |
---|
| 8 | // Redistribution and use in source and binary forms, with or without |
---|
| 9 | // modification, are permitted provided that the following conditions are |
---|
| 10 | // met: |
---|
| 11 | // * Redistributions of source code must retain the above copyright |
---|
| 12 | // notice, this list of conditions and the following disclaimer. |
---|
| 13 | // * Redistributions in binary form must reproduce the above |
---|
| 14 | // copyright notice, this list of conditions and the following disclaimer |
---|
| 15 | // in the documentation and/or other materials provided with the |
---|
| 16 | // distribution. |
---|
| 17 | // * Neither the name of Industrial Light & Magic nor the names of |
---|
| 18 | // its contributors may be used to endorse or promote products derived |
---|
| 19 | // from this software without specific prior written permission. |
---|
| 20 | // |
---|
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
---|
| 22 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
---|
| 23 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
---|
| 24 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
---|
| 25 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
---|
| 26 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
---|
| 27 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
---|
| 28 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
---|
| 29 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
---|
| 30 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
---|
| 31 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
---|
| 32 | // |
---|
| 33 | /////////////////////////////////////////////////////////////////////////// |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | #ifndef INCLUDED_IEXERRNOEXC_H |
---|
| 38 | #define INCLUDED_IEXERRNOEXC_H |
---|
| 39 | |
---|
| 40 | //---------------------------------------------------------------- |
---|
| 41 | // |
---|
| 42 | // Exceptions which correspond to "errno" error codes. |
---|
| 43 | // |
---|
| 44 | //---------------------------------------------------------------- |
---|
| 45 | |
---|
| 46 | #include <IexBaseExc.h> |
---|
| 47 | |
---|
| 48 | namespace Iex { |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | DEFINE_EXC (EpermExc, ErrnoExc) |
---|
| 52 | DEFINE_EXC (EnoentExc, ErrnoExc) |
---|
| 53 | DEFINE_EXC (EsrchExc, ErrnoExc) |
---|
| 54 | DEFINE_EXC (EintrExc, ErrnoExc) |
---|
| 55 | DEFINE_EXC (EioExc, ErrnoExc) |
---|
| 56 | DEFINE_EXC (EnxioExc, ErrnoExc) |
---|
| 57 | DEFINE_EXC (E2bigExc, ErrnoExc) |
---|
| 58 | DEFINE_EXC (EnoexecExc, ErrnoExc) |
---|
| 59 | DEFINE_EXC (EbadfExc, ErrnoExc) |
---|
| 60 | DEFINE_EXC (EchildExc, ErrnoExc) |
---|
| 61 | DEFINE_EXC (EagainExc, ErrnoExc) |
---|
| 62 | DEFINE_EXC (EnomemExc, ErrnoExc) |
---|
| 63 | DEFINE_EXC (EaccesExc, ErrnoExc) |
---|
| 64 | DEFINE_EXC (EfaultExc, ErrnoExc) |
---|
| 65 | DEFINE_EXC (EnotblkExc, ErrnoExc) |
---|
| 66 | DEFINE_EXC (EbusyExc, ErrnoExc) |
---|
| 67 | DEFINE_EXC (EexistExc, ErrnoExc) |
---|
| 68 | DEFINE_EXC (ExdevExc, ErrnoExc) |
---|
| 69 | DEFINE_EXC (EnodevExc, ErrnoExc) |
---|
| 70 | DEFINE_EXC (EnotdirExc, ErrnoExc) |
---|
| 71 | DEFINE_EXC (EisdirExc, ErrnoExc) |
---|
| 72 | DEFINE_EXC (EinvalExc, ErrnoExc) |
---|
| 73 | DEFINE_EXC (EnfileExc, ErrnoExc) |
---|
| 74 | DEFINE_EXC (EmfileExc, ErrnoExc) |
---|
| 75 | DEFINE_EXC (EnottyExc, ErrnoExc) |
---|
| 76 | DEFINE_EXC (EtxtbsyExc, ErrnoExc) |
---|
| 77 | DEFINE_EXC (EfbigExc, ErrnoExc) |
---|
| 78 | DEFINE_EXC (EnospcExc, ErrnoExc) |
---|
| 79 | DEFINE_EXC (EspipeExc, ErrnoExc) |
---|
| 80 | DEFINE_EXC (ErofsExc, ErrnoExc) |
---|
| 81 | DEFINE_EXC (EmlinkExc, ErrnoExc) |
---|
| 82 | DEFINE_EXC (EpipeExc, ErrnoExc) |
---|
| 83 | DEFINE_EXC (EdomExc, ErrnoExc) |
---|
| 84 | DEFINE_EXC (ErangeExc, ErrnoExc) |
---|
| 85 | DEFINE_EXC (EnomsgExc, ErrnoExc) |
---|
| 86 | DEFINE_EXC (EidrmExc, ErrnoExc) |
---|
| 87 | DEFINE_EXC (EchrngExc, ErrnoExc) |
---|
| 88 | DEFINE_EXC (El2nsyncExc, ErrnoExc) |
---|
| 89 | DEFINE_EXC (El3hltExc, ErrnoExc) |
---|
| 90 | DEFINE_EXC (El3rstExc, ErrnoExc) |
---|
| 91 | DEFINE_EXC (ElnrngExc, ErrnoExc) |
---|
| 92 | DEFINE_EXC (EunatchExc, ErrnoExc) |
---|
| 93 | DEFINE_EXC (EnocsiExc, ErrnoExc) |
---|
| 94 | DEFINE_EXC (El2hltExc, ErrnoExc) |
---|
| 95 | DEFINE_EXC (EdeadlkExc, ErrnoExc) |
---|
| 96 | DEFINE_EXC (EnolckExc, ErrnoExc) |
---|
| 97 | DEFINE_EXC (EbadeExc, ErrnoExc) |
---|
| 98 | DEFINE_EXC (EbadrExc, ErrnoExc) |
---|
| 99 | DEFINE_EXC (ExfullExc, ErrnoExc) |
---|
| 100 | DEFINE_EXC (EnoanoExc, ErrnoExc) |
---|
| 101 | DEFINE_EXC (EbadrqcExc, ErrnoExc) |
---|
| 102 | DEFINE_EXC (EbadsltExc, ErrnoExc) |
---|
| 103 | DEFINE_EXC (EdeadlockExc, ErrnoExc) |
---|
| 104 | DEFINE_EXC (EbfontExc, ErrnoExc) |
---|
| 105 | DEFINE_EXC (EnostrExc, ErrnoExc) |
---|
| 106 | DEFINE_EXC (EnodataExc, ErrnoExc) |
---|
| 107 | DEFINE_EXC (EtimeExc, ErrnoExc) |
---|
| 108 | DEFINE_EXC (EnosrExc, ErrnoExc) |
---|
| 109 | DEFINE_EXC (EnonetExc, ErrnoExc) |
---|
| 110 | DEFINE_EXC (EnopkgExc, ErrnoExc) |
---|
| 111 | DEFINE_EXC (EremoteExc, ErrnoExc) |
---|
| 112 | DEFINE_EXC (EnolinkExc, ErrnoExc) |
---|
| 113 | DEFINE_EXC (EadvExc, ErrnoExc) |
---|
| 114 | DEFINE_EXC (EsrmntExc, ErrnoExc) |
---|
| 115 | DEFINE_EXC (EcommExc, ErrnoExc) |
---|
| 116 | DEFINE_EXC (EprotoExc, ErrnoExc) |
---|
| 117 | DEFINE_EXC (EmultihopExc, ErrnoExc) |
---|
| 118 | DEFINE_EXC (EbadmsgExc, ErrnoExc) |
---|
| 119 | DEFINE_EXC (EnametoolongExc, ErrnoExc) |
---|
| 120 | DEFINE_EXC (EoverflowExc, ErrnoExc) |
---|
| 121 | DEFINE_EXC (EnotuniqExc, ErrnoExc) |
---|
| 122 | DEFINE_EXC (EbadfdExc, ErrnoExc) |
---|
| 123 | DEFINE_EXC (EremchgExc, ErrnoExc) |
---|
| 124 | DEFINE_EXC (ElibaccExc, ErrnoExc) |
---|
| 125 | DEFINE_EXC (ElibbadExc, ErrnoExc) |
---|
| 126 | DEFINE_EXC (ElibscnExc, ErrnoExc) |
---|
| 127 | DEFINE_EXC (ElibmaxExc, ErrnoExc) |
---|
| 128 | DEFINE_EXC (ElibexecExc, ErrnoExc) |
---|
| 129 | DEFINE_EXC (EilseqExc, ErrnoExc) |
---|
| 130 | DEFINE_EXC (EnosysExc, ErrnoExc) |
---|
| 131 | DEFINE_EXC (EloopExc, ErrnoExc) |
---|
| 132 | DEFINE_EXC (ErestartExc, ErrnoExc) |
---|
| 133 | DEFINE_EXC (EstrpipeExc, ErrnoExc) |
---|
| 134 | DEFINE_EXC (EnotemptyExc, ErrnoExc) |
---|
| 135 | DEFINE_EXC (EusersExc, ErrnoExc) |
---|
| 136 | DEFINE_EXC (EnotsockExc, ErrnoExc) |
---|
| 137 | DEFINE_EXC (EdestaddrreqExc, ErrnoExc) |
---|
| 138 | DEFINE_EXC (EmsgsizeExc, ErrnoExc) |
---|
| 139 | DEFINE_EXC (EprototypeExc, ErrnoExc) |
---|
| 140 | DEFINE_EXC (EnoprotooptExc, ErrnoExc) |
---|
| 141 | DEFINE_EXC (EprotonosupportExc, ErrnoExc) |
---|
| 142 | DEFINE_EXC (EsocktnosupportExc, ErrnoExc) |
---|
| 143 | DEFINE_EXC (EopnotsuppExc, ErrnoExc) |
---|
| 144 | DEFINE_EXC (EpfnosupportExc, ErrnoExc) |
---|
| 145 | DEFINE_EXC (EafnosupportExc, ErrnoExc) |
---|
| 146 | DEFINE_EXC (EaddrinuseExc, ErrnoExc) |
---|
| 147 | DEFINE_EXC (EaddrnotavailExc, ErrnoExc) |
---|
| 148 | DEFINE_EXC (EnetdownExc, ErrnoExc) |
---|
| 149 | DEFINE_EXC (EnetunreachExc, ErrnoExc) |
---|
| 150 | DEFINE_EXC (EnetresetExc, ErrnoExc) |
---|
| 151 | DEFINE_EXC (EconnabortedExc, ErrnoExc) |
---|
| 152 | DEFINE_EXC (EconnresetExc, ErrnoExc) |
---|
| 153 | DEFINE_EXC (EnobufsExc, ErrnoExc) |
---|
| 154 | DEFINE_EXC (EisconnExc, ErrnoExc) |
---|
| 155 | DEFINE_EXC (EnotconnExc, ErrnoExc) |
---|
| 156 | DEFINE_EXC (EshutdownExc, ErrnoExc) |
---|
| 157 | DEFINE_EXC (EtoomanyrefsExc, ErrnoExc) |
---|
| 158 | DEFINE_EXC (EtimedoutExc, ErrnoExc) |
---|
| 159 | DEFINE_EXC (EconnrefusedExc, ErrnoExc) |
---|
| 160 | DEFINE_EXC (EhostdownExc, ErrnoExc) |
---|
| 161 | DEFINE_EXC (EhostunreachExc, ErrnoExc) |
---|
| 162 | DEFINE_EXC (EalreadyExc, ErrnoExc) |
---|
| 163 | DEFINE_EXC (EinprogressExc, ErrnoExc) |
---|
| 164 | DEFINE_EXC (EstaleExc, ErrnoExc) |
---|
| 165 | DEFINE_EXC (EioresidExc, ErrnoExc) |
---|
| 166 | DEFINE_EXC (EucleanExc, ErrnoExc) |
---|
| 167 | DEFINE_EXC (EnotnamExc, ErrnoExc) |
---|
| 168 | DEFINE_EXC (EnavailExc, ErrnoExc) |
---|
| 169 | DEFINE_EXC (EisnamExc, ErrnoExc) |
---|
| 170 | DEFINE_EXC (EremoteioExc, ErrnoExc) |
---|
| 171 | DEFINE_EXC (EinitExc, ErrnoExc) |
---|
| 172 | DEFINE_EXC (EremdevExc, ErrnoExc) |
---|
| 173 | DEFINE_EXC (EcanceledExc, ErrnoExc) |
---|
| 174 | DEFINE_EXC (EnolimfileExc, ErrnoExc) |
---|
| 175 | DEFINE_EXC (EproclimExc, ErrnoExc) |
---|
| 176 | DEFINE_EXC (EdisjointExc, ErrnoExc) |
---|
| 177 | DEFINE_EXC (EnologinExc, ErrnoExc) |
---|
| 178 | DEFINE_EXC (EloginlimExc, ErrnoExc) |
---|
| 179 | DEFINE_EXC (EgrouploopExc, ErrnoExc) |
---|
| 180 | DEFINE_EXC (EnoattachExc, ErrnoExc) |
---|
| 181 | DEFINE_EXC (EnotsupExc, ErrnoExc) |
---|
| 182 | DEFINE_EXC (EnoattrExc, ErrnoExc) |
---|
| 183 | DEFINE_EXC (EdircorruptedExc, ErrnoExc) |
---|
| 184 | DEFINE_EXC (EdquotExc, ErrnoExc) |
---|
| 185 | DEFINE_EXC (EnfsremoteExc, ErrnoExc) |
---|
| 186 | DEFINE_EXC (EcontrollerExc, ErrnoExc) |
---|
| 187 | DEFINE_EXC (EnotcontrollerExc, ErrnoExc) |
---|
| 188 | DEFINE_EXC (EenqueuedExc, ErrnoExc) |
---|
| 189 | DEFINE_EXC (EnotenqueuedExc, ErrnoExc) |
---|
| 190 | DEFINE_EXC (EjoinedExc, ErrnoExc) |
---|
| 191 | DEFINE_EXC (EnotjoinedExc, ErrnoExc) |
---|
| 192 | DEFINE_EXC (EnoprocExc, ErrnoExc) |
---|
| 193 | DEFINE_EXC (EmustrunExc, ErrnoExc) |
---|
| 194 | DEFINE_EXC (EnotstoppedExc, ErrnoExc) |
---|
| 195 | DEFINE_EXC (EclockcpuExc, ErrnoExc) |
---|
| 196 | DEFINE_EXC (EinvalstateExc, ErrnoExc) |
---|
| 197 | DEFINE_EXC (EnoexistExc, ErrnoExc) |
---|
| 198 | DEFINE_EXC (EendofminorExc, ErrnoExc) |
---|
| 199 | DEFINE_EXC (EbufsizeExc, ErrnoExc) |
---|
| 200 | DEFINE_EXC (EemptyExc, ErrnoExc) |
---|
| 201 | DEFINE_EXC (EnointrgroupExc, ErrnoExc) |
---|
| 202 | DEFINE_EXC (EinvalmodeExc, ErrnoExc) |
---|
| 203 | DEFINE_EXC (EcantextentExc, ErrnoExc) |
---|
| 204 | DEFINE_EXC (EinvaltimeExc, ErrnoExc) |
---|
| 205 | DEFINE_EXC (EdestroyedExc, ErrnoExc) |
---|
| 206 | |
---|
| 207 | |
---|
| 208 | } // namespace Iex |
---|
| 209 | |
---|
| 210 | #endif |
---|