OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / include / lib / Net_UserAgent_Mobile-1.0.0 / Net / UserAgent / Mobile / Error.php
1 <?php
2 /* vim: set expandtab tabstop=4 shiftwidth=4: */
3
4 /**
5  * PHP versions 4 and 5
6  *
7  * Copyright (c) 2009 KUBO Atsuhiro <kubo@iteman.jp>,
8  * All rights reserved.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted provided that the following conditions are met:
12  *
13  *     * Redistributions of source code must retain the above copyright
14  *       notice, this list of conditions and the following disclaimer.
15  *     * Redistributions in binary form must reproduce the above copyright
16  *       notice, this list of conditions and the following disclaimer in the
17  *       documentation and/or other materials provided with the distribution.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29  * POSSIBILITY OF SUCH DAMAGE.
30  *
31  * @category   Networking
32  * @package    Net_UserAgent_Mobile
33  * @author     KUBO Atsuhiro <kubo@iteman.jp>
34  * @copyright  2009 KUBO Atsuhiro <kubo@iteman.jp>
35  * @license    http://www.opensource.org/licenses/bsd-license.php  New BSD License
36  * @version    CVS: $Id: Error.php 2043 2009-07-03 09:36:18Z fishbone $
37  * @since      File available since Release 1.0.0RC3
38  *
39  * @modified-for        adjust for magic3 framework
40  * @modified-by         naoki hirata(naoki@aplo.co.jp)
41  * @modified-date       2009.7.3
42  */
43
44 //require_once 'PEAR.php';
45
46 // {{{ constants
47
48 /**
49  * Constants for error handling.
50  */
51 define('NET_USERAGENT_MOBILE_OK',               1);
52 define('NET_USERAGENT_MOBILE_ERROR',           -1);
53 define('NET_USERAGENT_MOBILE_ERROR_NOMATCH',   -2);
54 define('NET_USERAGENT_MOBILE_ERROR_NOT_FOUND', -3);
55
56 // }}}
57 // {{{ Net_UserAgent_Mobile_Error
58
59 /**
60  * Net_UserAgent_Mobile_Error implements a class for reporting user agent error
61  * messages
62  *
63  * @category   Networking
64  * @package    Net_UserAgent_Mobile
65  * @author     KUBO Atsuhiro <kubo@iteman.jp>
66  * @copyright  2003-2009 KUBO Atsuhiro <kubo@iteman.jp>
67  * @license    http://www.opensource.org/licenses/bsd-license.php  New BSD License
68  * @version    Release: 1.0.0
69  * @since      Class available since Release 0.1
70  */
71 class Net_UserAgent_Mobile_Error extends PEAR_Error {}
72
73 // }}}
74
75 /*
76  * Local Variables:
77  * mode: php
78  * coding: iso-8859-1
79  * tab-width: 4
80  * c-basic-offset: 4
81  * c-hanging-comment-ender-p: nil
82  * indent-tabs-mode: nil
83  * End:
84  */