source: branches/comu-ver2/data/module/Net/UserAgent/Mobile/Error.php @ 18188

Revision 18188, 2.8 KB checked in by AMUAMU, 15 years ago (diff)

#403 関連 Net_UserAgent_Mobileを1.0.0(stable)にアップデート

Line 
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,v 1.1 2009/05/26 08:48:16 kuboa Exp $
37 * @since      File available since Release 1.0.0RC3
38 */
39
40require_once dirname(__FILE__) . '/../../../PEAR.php';
41
42// {{{ constants
43
44/**
45 * Constants for error handling.
46 */
47define('NET_USERAGENT_MOBILE_OK',               1);
48define('NET_USERAGENT_MOBILE_ERROR',           -1);
49define('NET_USERAGENT_MOBILE_ERROR_NOMATCH',   -2);
50define('NET_USERAGENT_MOBILE_ERROR_NOT_FOUND', -3);
51
52// }}}
53// {{{ Net_UserAgent_Mobile_Error
54
55/**
56 * Net_UserAgent_Mobile_Error implements a class for reporting user agent error
57 * messages
58 *
59 * @category   Networking
60 * @package    Net_UserAgent_Mobile
61 * @author     KUBO Atsuhiro <kubo@iteman.jp>
62 * @copyright  2003-2009 KUBO Atsuhiro <kubo@iteman.jp>
63 * @license    http://www.opensource.org/licenses/bsd-license.php  New BSD License
64 * @version    Release: 1.0.0
65 * @since      Class available since Release 0.1
66 */
67class Net_UserAgent_Mobile_Error extends PEAR_Error {}
68
69// }}}
70
71/*
72 * Local Variables:
73 * mode: php
74 * coding: iso-8859-1
75 * tab-width: 4
76 * c-basic-offset: 4
77 * c-hanging-comment-ender-p: nil
78 * indent-tabs-mode: nil
79 * End:
80 */
Note: See TracBrowser for help on using the repository browser.