1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 enum class TaskHandlerErr
{
24 // Error codes used to deliver the resulting exceptions
28 WRONG_SETPROPERTYVALUES_ARGUMENT
,
29 WRONG_GETPROPERTYVALUES_ARGUMENT
,
31 WRONG_DELETE_ARGUMENT
,
32 WRONG_TRANSFER_ARGUMENT
,
33 WRONG_INSERT_ARGUMENT
,
34 WRONG_CREATENEWCONTENT_ARGUMENT
,
35 UNSUPPORTED_OPEN_MODE
,
37 DELETED_STATE_IN_OPEN_COMMAND
,
38 INSERTED_STATE_IN_OPEN_COMMAND
,
40 OPEN_FILE_FOR_PAGING
,
41 NOTCONNECTED_FOR_PAGING
,
42 BUFFERSIZEEXCEEDED_FOR_PAGING
,
43 IOEXCEPTION_FOR_PAGING
,
44 READING_FILE_FOR_PAGING
,
46 OPEN_FOR_INPUTSTREAM
,
48 OPEN_FOR_DIRECTORYLISTING
,
50 NOFRESHINSERT_IN_INSERT_COMMAND
,
51 NONAMESET_INSERT_COMMAND
,
52 NOCONTENTTYPE_INSERT_COMMAND
,
54 NO_OPEN_FILE_FOR_OVERWRITE
,
55 NO_OPEN_FILE_FOR_WRITE
,
56 NOTCONNECTED_FOR_WRITE
,
57 BUFFERSIZEEXCEEDED_FOR_WRITE
,
58 IOEXCEPTION_FOR_WRITE
,
59 FILEIOERROR_FOR_WRITE
,
60 FILEIOERROR_FOR_NO_SPACE
,
62 INPUTSTREAM_FOR_WRITE
,
68 CREATEDIRECTORY_MKDIR
,
70 NOSUCHFILEORDIR_FOR_REMOVE
,
71 VALIDFILESTATUS_FOR_REMOVE
,
72 OPENDIRECTORY_FOR_REMOVE
,
73 DELETEFILE_FOR_REMOVE
,
74 DELETEDIRECTORY_FOR_REMOVE
,
76 VALIDFILESTATUSWHILE_FOR_REMOVE
,
77 DIRECTORYEXHAUSTED_FOR_REMOVE
,
79 TRANSFER_INVALIDSCHEME
,
81 TRANSFER_DESTFILETYPE
,
82 TRANSFER_BY_MOVE_SOURCE
,
83 TRANSFER_BY_MOVE_SOURCESTAT
,
86 NAMECLASHMOVE_FOR_MOVE
,
87 NAMECLASHSUPPORT_FOR_MOVE
,
92 TRANSFER_BY_COPY_SOURCE
,
93 TRANSFER_BY_COPY_SOURCESTAT
,
99 NAMECLASHMOVE_FOR_COPY
,
100 NAMECLASHSUPPORT_FOR_COPY
,
104 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */