1: <?php
2: /**
3: * The exception marker for the Kolab_Storage system.
4: *
5: * PHP version 5
6: *
7: * @category Kolab
8: * @package Kolab_Storage
9: * @author Gunnar Wrobel <wrobel@pardus.de>
10: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
11: * @link http://pear.horde.org/index.php?package=Kolab_Storage
12: */
13:
14: /**
15: * This class provides the standard error class for Kolab Storage exceptions.
16: *
17: * Copyright 2009-2012 Horde LLC (http://www.horde.org/)
18: *
19: * See the enclosed file COPYING for license information (LGPL). If you
20: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
21: *
22: * @category Kolab
23: * @package Kolab_Storage
24: * @author Gunnar Wrobel <wrobel@pardus.de>
25: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
26: * @link http://pear.horde.org/index.php?package=Kolab_Storage
27: */
28: class Horde_Kolab_Storage_Exception extends Horde_Exception_Wrapped
29: {
30: /**
31: * Constants to define the error type.
32: */
33:
34: /**
35: * The specified folder already exists.
36: */
37: const FOLDER_EXISTS = 10;
38:
39: /**
40: * The name of the folder has not been specified.
41: */
42: const FOLDER_NAME_UNSET = 50;
43:
44: }
45: