LibreOffice Module comphelper (master) 1
|
Go to the source code of this file.
Classes | |
class | ErrCode |
Enumerations | |
enum class | WarningFlag { Yes } |
enum class | ErrCodeArea { Io = 0 , Sfx = 2 , Inet = 3 , Vcl = 4 , Svx = 8 , So = 9 , Sbx = 10 , Uui = 13 , Sc = 32 , Sd = 40 , Sw = 56 } |
enum class | ErrCodeClass { NONE = 0 , Abort = 1 , General = 2 , NotExists = 3 , AlreadyExists = 4 , Access = 5 , Path = 6 , Locking = 7 , Parameter = 8 , Space = 9 , NotSupported = 10 , Read = 11 , Write = 12 , Unknown = 13 , Version = 14 , Format = 15 , Create = 16 , Import = 17 , Export = 18 , So = 20 , Sbx = 21 , Runtime = 22 , Compiler = 23 } |
Functions | |
COMPHELPER_DLLPUBLIC std::ostream & | operator<< (std::ostream &os, const ErrCode &err) |
#define ERRCODE_ABORT ERRCODE_IO_ABORT |
Definition at line 269 of file errcode.hxx.
#define ERRCODE_AREA_SHIFT 13 |
Definition at line 48 of file errcode.hxx.
#define ERRCODE_CLASS_MASK (31UL << ERRCODE_CLASS_SHIFT) |
Definition at line 51 of file errcode.hxx.
#define ERRCODE_CLASS_SHIFT 8 |
Definition at line 47 of file errcode.hxx.
#define ERRCODE_DYNAMIC_COUNT 31UL |
Definition at line 53 of file errcode.hxx.
#define ERRCODE_DYNAMIC_MASK (31UL << ERRCODE_DYNAMIC_SHIFT) |
Definition at line 54 of file errcode.hxx.
#define ERRCODE_DYNAMIC_SHIFT 26 |
Definition at line 49 of file errcode.hxx.
#define ERRCODE_ERROR_MASK 0x3fffffffUL |
Definition at line 44 of file errcode.hxx.
#define ERRCODE_INET_CONNECT ErrCode(ErrCodeArea::Inet, ErrCodeClass::Read, 2) |
Definition at line 272 of file errcode.hxx.
#define ERRCODE_INET_GENERAL ErrCode(ErrCodeArea::Inet, ErrCodeClass::Write, 5) |
Definition at line 275 of file errcode.hxx.
#define ERRCODE_INET_NAME_RESOLVE ErrCode(ErrCodeArea::Inet, ErrCodeClass::Read, 1) |
Definition at line 271 of file errcode.hxx.
#define ERRCODE_INET_OFFLINE ErrCode(ErrCodeArea::Inet, ErrCodeClass::Read, 6) |
Definition at line 276 of file errcode.hxx.
#define ERRCODE_INET_READ ErrCode(ErrCodeArea::Inet, ErrCodeClass::Read, 3) |
Definition at line 273 of file errcode.hxx.
#define ERRCODE_INET_WRITE ErrCode(ErrCodeArea::Inet, ErrCodeClass::Write, 4) |
Definition at line 274 of file errcode.hxx.
#define ERRCODE_IO_ABORT ErrCode( ErrCodeArea::Io, ErrCodeClass::Abort, 27 ) |
Definition at line 224 of file errcode.hxx.
#define ERRCODE_IO_ACCESSDENIED ErrCode( ErrCodeArea::Io, ErrCodeClass::Access, 7 ) |
Definition at line 205 of file errcode.hxx.
#define ERRCODE_IO_ALREADYEXISTS ErrCode( ErrCodeArea::Io, ErrCodeClass::AlreadyExists, 3 ) |
Definition at line 201 of file errcode.hxx.
#define ERRCODE_IO_BADCRC ErrCode( ErrCodeArea::Io, ErrCodeClass::Read, 36 ) |
Definition at line 233 of file errcode.hxx.
#define ERRCODE_IO_BROKENPACKAGE ErrCode( ErrCodeArea::Io, ErrCodeClass::Format, 38 ) |
Definition at line 235 of file errcode.hxx.
#define ERRCODE_IO_CANTCREATE ErrCode( ErrCodeArea::Io, ErrCodeClass::Create, 25 ) |
Definition at line 222 of file errcode.hxx.
#define ERRCODE_IO_CANTREAD ErrCode( ErrCodeArea::Io, ErrCodeClass::Read, 15 ) |
Definition at line 212 of file errcode.hxx.
#define ERRCODE_IO_CANTSEEK ErrCode( ErrCodeArea::Io, ErrCodeClass::General, 18 ) |
Definition at line 215 of file errcode.hxx.
#define ERRCODE_IO_CANTTELL ErrCode( ErrCodeArea::Io, ErrCodeClass::General, 19 ) |
Definition at line 216 of file errcode.hxx.
#define ERRCODE_IO_CANTWRITE ErrCode( ErrCodeArea::Io, ErrCodeClass::Write, 16 ) |
Definition at line 213 of file errcode.hxx.
#define ERRCODE_IO_CURRENTDIR ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 33 ) |
Definition at line 230 of file errcode.hxx.
#define ERRCODE_IO_DEVICENOTREADY ErrCode( ErrCodeArea::Io, ErrCodeClass::Read, 35 ) |
Definition at line 232 of file errcode.hxx.
#define ERRCODE_IO_FILTERDISABLED ErrCode( ErrCodeArea::Io, ErrCodeClass::Format, 40 ) |
Definition at line 237 of file errcode.hxx.
#define ERRCODE_IO_GENERAL ErrCode( ErrCodeArea::Io, ErrCodeClass::General, 13 ) |
Definition at line 210 of file errcode.hxx.
#define ERRCODE_IO_INVALIDACCESS ErrCode( ErrCodeArea::Io, ErrCodeClass::Access, 24 ) |
Definition at line 221 of file errcode.hxx.
#define ERRCODE_IO_INVALIDCHAR ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 22 ) |
Definition at line 219 of file errcode.hxx.
#define ERRCODE_IO_INVALIDDEVICE ErrCode( ErrCodeArea::Io, ErrCodeClass::Path, 6 ) |
Definition at line 204 of file errcode.hxx.
#define ERRCODE_IO_INVALIDLENGTH ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 32 ) |
Definition at line 229 of file errcode.hxx.
#define ERRCODE_IO_INVALIDPARAMETER ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 26 ) |
Definition at line 223 of file errcode.hxx.
#define ERRCODE_IO_ISWILDCARD ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 11 ) |
Definition at line 208 of file errcode.hxx.
#define ERRCODE_IO_LOCKVIOLATION ErrCode( ErrCodeArea::Io, ErrCodeClass::Locking, 8 ) |
Definition at line 206 of file errcode.hxx.
#define ERRCODE_IO_MISPLACEDCHAR ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 1 ) |
Definition at line 199 of file errcode.hxx.
#define ERRCODE_IO_NAMETOOLONG ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 31 ) |
Definition at line 228 of file errcode.hxx.
#define ERRCODE_IO_NOTADIRECTORY ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 4 ) |
Definition at line 202 of file errcode.hxx.
#define ERRCODE_IO_NOTAFILE ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 5 ) |
Definition at line 203 of file errcode.hxx.
#define ERRCODE_IO_NOTEXISTS ErrCode( ErrCodeArea::Io, ErrCodeClass::NotExists, 2 ) |
Definition at line 200 of file errcode.hxx.
#define ERRCODE_IO_NOTEXISTSPATH ErrCode( ErrCodeArea::Io, ErrCodeClass::NotExists, 28 ) |
Definition at line 225 of file errcode.hxx.
#define ERRCODE_IO_NOTSAMEDEVICE ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 34 ) |
Definition at line 231 of file errcode.hxx.
#define ERRCODE_IO_NOTSTORABLEINBINARYFORMAT ErrCode( ErrCodeArea::Io, ErrCodeClass::Format, 39 ) |
Definition at line 236 of file errcode.hxx.
#define ERRCODE_IO_NOTSUPPORTED ErrCode( ErrCodeArea::Io, ErrCodeClass::NotSupported, 12 ) |
Definition at line 209 of file errcode.hxx.
#define ERRCODE_IO_OUTOFMEMORY ErrCode( ErrCodeArea::Io, ErrCodeClass::Space, 17 ) |
Definition at line 214 of file errcode.hxx.
#define ERRCODE_IO_OUTOFSPACE ErrCode( ErrCodeArea::Io, ErrCodeClass::Space, 9 ) |
Definition at line 207 of file errcode.hxx.
#define ERRCODE_IO_PENDING ErrCode( ErrCodeArea::Io, ErrCodeClass::NotExists, 29 ) |
Definition at line 226 of file errcode.hxx.
#define ERRCODE_IO_RECURSIVE ErrCode( ErrCodeArea::Io, ErrCodeClass::Parameter, 30 ) |
Definition at line 227 of file errcode.hxx.
#define ERRCODE_IO_TOOMANYOPENFILES ErrCode( ErrCodeArea::Io, ErrCodeClass::Space, 14 ) |
Definition at line 211 of file errcode.hxx.
#define ERRCODE_IO_UNKNOWN ErrCode( ErrCodeArea::Io, ErrCodeClass::Unknown, 23 ) |
Definition at line 220 of file errcode.hxx.
#define ERRCODE_IO_WRITEPROTECTED ErrCode( ErrCodeArea::Io, ErrCodeClass::Access, 37 ) |
Definition at line 234 of file errcode.hxx.
#define ERRCODE_IO_WRONGFORMAT ErrCode( ErrCodeArea::Io, ErrCodeClass::Format, 21 ) |
Definition at line 218 of file errcode.hxx.
#define ERRCODE_IO_WRONGVERSION ErrCode( ErrCodeArea::Io, ErrCodeClass::Version, 20 ) |
Definition at line 217 of file errcode.hxx.
#define ERRCODE_NONE ErrCode(0) |
Definition at line 197 of file errcode.hxx.
#define ERRCODE_WARNING_MASK 0x80000000UL |
Definition at line 45 of file errcode.hxx.
#define PRINTER_ABORT ERRCODE_IO_ABORT |
Definition at line 266 of file errcode.hxx.
#define PRINTER_GENERALERROR ERRCODE_IO_GENERAL |
Definition at line 267 of file errcode.hxx.
#define SVSTREAM_ACCESS_DENIED ERRCODE_IO_ACCESSDENIED |
Definition at line 245 of file errcode.hxx.
#define SVSTREAM_CANNOT_MAKE ERRCODE_IO_CANTCREATE |
Definition at line 252 of file errcode.hxx.
#define SVSTREAM_DISK_FULL ERRCODE_IO_OUTOFSPACE |
Definition at line 264 of file errcode.hxx.
#define SVSTREAM_FILE_NOT_FOUND ERRCODE_IO_NOTEXISTS |
Definition at line 242 of file errcode.hxx.
#define SVSTREAM_FILEFORMAT_ERROR ERRCODE_IO_WRONGFORMAT |
Definition at line 261 of file errcode.hxx.
#define SVSTREAM_GENERALERROR ERRCODE_IO_GENERAL |
Definition at line 241 of file errcode.hxx.
#define SVSTREAM_INVALID_ACCESS ERRCODE_IO_INVALIDACCESS |
Definition at line 250 of file errcode.hxx.
#define SVSTREAM_INVALID_HANDLE ERRCODE_IO_GENERAL |
Definition at line 251 of file errcode.hxx.
#define SVSTREAM_INVALID_PARAMETER ERRCODE_IO_INVALIDPARAMETER |
Definition at line 253 of file errcode.hxx.
#define SVSTREAM_LOCKING_VIOLATION ERRCODE_IO_LOCKVIOLATION |
Definition at line 247 of file errcode.hxx.
#define SVSTREAM_OUTOFMEMORY ERRCODE_IO_OUTOFMEMORY |
Definition at line 259 of file errcode.hxx.
#define SVSTREAM_PATH_NOT_FOUND ERRCODE_IO_NOTEXISTSPATH |
Definition at line 243 of file errcode.hxx.
#define SVSTREAM_READ_ERROR ERRCODE_IO_CANTREAD |
Definition at line 255 of file errcode.hxx.
#define SVSTREAM_SEEK_ERROR ERRCODE_IO_CANTSEEK |
Definition at line 257 of file errcode.hxx.
#define SVSTREAM_SHARE_BUFF_EXCEEDED ERRCODE_IO_LOCKVIOLATION |
Definition at line 248 of file errcode.hxx.
#define SVSTREAM_SHARING_VIOLATION ERRCODE_IO_LOCKVIOLATION |
Definition at line 246 of file errcode.hxx.
#define SVSTREAM_TOO_MANY_OPEN_FILES ERRCODE_IO_TOOMANYOPENFILES |
Definition at line 244 of file errcode.hxx.
#define SVSTREAM_WRITE_ERROR ERRCODE_IO_CANTWRITE |
Definition at line 256 of file errcode.hxx.
#define SVSTREAM_WRONGVERSION ERRCODE_IO_WRONGVERSION |
Definition at line 262 of file errcode.hxx.
|
strong |
Enumerator | |
---|---|
Io | |
Sfx | |
Inet | |
Vcl | |
Svx | |
So | |
Sbx | |
Uui | |
Sc | |
Sd | |
Sw |
Definition at line 157 of file errcode.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
Abort | |
General | |
NotExists | |
AlreadyExists | |
Access | |
Path | |
Locking | |
Parameter | |
Space | |
NotSupported | |
Read | |
Write | |
Unknown | |
Version | |
Format | |
Create | |
Import | |
Export | |
So | |
Sbx | |
Runtime | |
Compiler |
Definition at line 171 of file errcode.hxx.
|
strong |
Enumerator | |
---|---|
Yes |
Definition at line 59 of file errcode.hxx.
COMPHELPER_DLLPUBLIC std::ostream & operator<< | ( | std::ostream & | os, |
const ErrCode & | err | ||
) |
Definition at line 153 of file errcode.cxx.
References err.