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 .
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
33 published
enum IOErrorCode
35 /** An operation was aborted.
39 /** An object cannot be accessed due to insufficient user rights.
43 /** An object already exists.
51 /** An object could not be created.
55 /** Data could not be read from a file.
59 /** A seek operation could not be run.
63 /** A tell operation could not be run.
67 /** Data could not be written to a file.
71 /** A function is not possible because the path contains the current
76 /** A device (drive) not ready.
80 /** A function is not possible because the devices (drives) are not
85 /** A general input/output error.
89 /** An invalid attempt was made to access an object.
93 /** A file name contains invalid characters.
97 /** A specified device is invalid.
101 /** Invalid data length.
105 /** An operation was started with an invalid parameter.
109 /** An operation cannot be run on file names containing wildcards.
113 /** A locking problem.
117 /** An invalid file name.
121 /** A file name is too long.
125 /** A nonexistent object.
129 /** The path to a file does not exist.
133 /** An action is not supported.
137 /** An object is not a directory.
141 /** An object is not a file.
145 /** No more space on a device.
149 /** No more file handles available.
153 /** An operation could not be run due to insufficient memory.
157 /** An operation is still pending.
161 /** An object cannot be copied into itself.
165 /** An unknown I/O error has occurred.
169 /** A function is not possible because the object is write protected.
173 /** An incorrect file format.
177 /** An incorrect file version.
188 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */