1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: IOErrorCode.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_ucb_IOErrorCode_idl__
31 #define __com_sun_star_ucb_IOErrorCode_idl__
34 //=============================================================================
36 module com
{ module sun
{ module star
{ module ucb
{
38 //=============================================================================
39 /** Types of input/output errors.
41 <P>See <type scope="com::sun::star::task">InteractionHandler</type> for a
42 description of what kinds of arguments
43 <type>InteractiveAugmentedIOException</type> should use with each of these
46 published
enum IOErrorCode
48 //-------------------------------------------------------------------------
49 /** An operation was aborted.
53 //-------------------------------------------------------------------------
54 /** An object cannot be accessed due to insufficient user rights.
58 //-------------------------------------------------------------------------
59 /** An object already exists.
63 //-------------------------------------------------------------------------
68 //-------------------------------------------------------------------------
69 /** An object could not be created.
73 //-------------------------------------------------------------------------
74 /** Data could not be read from a file.
78 //-------------------------------------------------------------------------
79 /** A seek operation could not be run.
83 //-------------------------------------------------------------------------
84 /** A tell operation could not be run.
88 //-------------------------------------------------------------------------
89 /** Data could not be written to a file.
93 //-------------------------------------------------------------------------
94 /** A function is not possible because the path contains the current
99 //-------------------------------------------------------------------------
100 /** A device (drive) not ready.
104 //-------------------------------------------------------------------------
105 /** A function is not possible because the devices (drives) are not
110 //-------------------------------------------------------------------------
111 /** A general input/output error.
115 //-------------------------------------------------------------------------
116 /** An invalid attempt was made to access an object.
120 //-------------------------------------------------------------------------
121 /** A file name contains invalid characters.
125 //-------------------------------------------------------------------------
126 /** A specified device is invalid.
130 //-------------------------------------------------------------------------
131 /** Invalid data length.
135 //-------------------------------------------------------------------------
136 /** An operation was started with an invalid parameter.
140 //-------------------------------------------------------------------------
141 /** An operation cannot be run on file names containing wildcards.
145 //-------------------------------------------------------------------------
146 /** A locking problem.
150 //-------------------------------------------------------------------------
151 /** An invalid file name.
155 //-------------------------------------------------------------------------
156 /** A file name is too long.
160 //-------------------------------------------------------------------------
161 /** A nonexistent object.
165 //-------------------------------------------------------------------------
166 /** The path to a file does not exist.
170 //-------------------------------------------------------------------------
171 /** An action is not supported.
175 //-------------------------------------------------------------------------
176 /** An object is not a directory.
180 //-------------------------------------------------------------------------
181 /** An object is not a file.
185 //-------------------------------------------------------------------------
186 /** No more space on a device.
190 //-------------------------------------------------------------------------
191 /** No more file handles available.
195 //-------------------------------------------------------------------------
196 /** An operation could not be run due to insufficient memory.
200 //-------------------------------------------------------------------------
201 /** An operation is still pending.
205 //-------------------------------------------------------------------------
206 /** An object cannot be copied into itself.
210 //-------------------------------------------------------------------------
211 /** An unknown I/O error has occurred.
215 //-------------------------------------------------------------------------
216 /** A function is not possible because the object is write protected.
220 //-------------------------------------------------------------------------
221 /** An incorrect file format.
225 //-------------------------------------------------------------------------
226 /** An incorrect file version.
232 //=============================================================================