Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / ucb / IOErrorCode.idl
blobd92d8c6961bc48a1cfa60488819d2e14c981774d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
19 #ifndef __com_sun_star_ucb_IOErrorCode_idl__
20 #define __com_sun_star_ucb_IOErrorCode_idl__
24 module com { module sun { module star { module ucb {
26 /** Types of input/output errors.
28 <P>See com::sun::star::task::InteractionHandler for a
29 description of what kinds of arguments
30 InteractiveAugmentedIOException should use with each of these
31 error codes.</P>
33 published enum IOErrorCode
35 /** An operation was aborted.
37 ABORT,
39 /** An object cannot be accessed due to insufficient user rights.
41 ACCESS_DENIED,
43 /** An object already exists.
45 ALREADY_EXISTING,
47 /** A bad checksum.
49 BAD_CRC,
51 /** An object could not be created.
53 CANT_CREATE,
55 /** Data could not be read from a file.
57 CANT_READ,
59 /** A seek operation could not be run.
61 CANT_SEEK,
63 /** A tell operation could not be run.
65 CANT_TELL,
67 /** Data could not be written to a file.
69 CANT_WRITE,
71 /** A function is not possible because the path contains the current
72 directory.
74 CURRENT_DIRECTORY,
76 /** A device (drive) not ready.
78 DEVICE_NOT_READY,
80 /** A function is not possible because the devices (drives) are not
81 identical.
83 DIFFERENT_DEVICES,
85 /** A general input/output error.
87 GENERAL,
89 /** An invalid attempt was made to access an object.
91 INVALID_ACCESS,
93 /** A file name contains invalid characters.
95 INVALID_CHARACTER,
97 /** A specified device is invalid.
99 INVALID_DEVICE,
101 /** Invalid data length.
103 INVALID_LENGTH,
105 /** An operation was started with an invalid parameter.
107 INVALID_PARAMETER,
109 /** An operation cannot be run on file names containing wildcards.
111 IS_WILDCARD,
113 /** A locking problem.
115 LOCKING_VIOLATION,
117 /** An invalid file name.
119 MISPLACED_CHARACTER,
121 /** A file name is too long.
123 NAME_TOO_LONG,
125 /** A nonexistent object.
127 NOT_EXISTING,
129 /** The path to a file does not exist.
131 NOT_EXISTING_PATH,
133 /** An action is not supported.
135 NOT_SUPPORTED,
137 /** An object is not a directory.
139 NO_DIRECTORY,
141 /** An object is not a file.
143 NO_FILE,
145 /** No more space on a device.
147 OUT_OF_DISK_SPACE,
149 /** No more file handles available.
151 OUT_OF_FILE_HANDLES,
153 /** An operation could not be run due to insufficient memory.
155 OUT_OF_MEMORY,
157 /** An operation is still pending.
159 PENDING,
161 /** An object cannot be copied into itself.
163 RECURSIVE,
165 /** An unknown I/O error has occurred.
167 UNKNOWN,
169 /** A function is not possible because the object is write protected.
171 WRITE_PROTECTED,
173 /** An incorrect file format.
175 WRONG_FORMAT,
177 /** An incorrect file version.
179 WRONG_VERSION
184 }; }; }; };
186 #endif
188 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */