2 /* vim: set expandtab tabstop=4 shiftwidth=4: */
7 * Copyright (c) 2009 KUBO Atsuhiro <kubo@iteman.jp>,
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions are met:
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.
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.
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
39 * @modified-for adjust for magic3 framework
40 * @modified-by naoki hirata(naoki@aplo.co.jp)
41 * @modified-date 2009.7.3
44 //require_once 'PEAR.php';
49 * Constants for error handling.
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);
57 // {{{ Net_UserAgent_Mobile_Error
60 * Net_UserAgent_Mobile_Error implements a class for reporting user agent error
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
71 class Net_UserAgent_Mobile_Error extends PEAR_Error {}
81 * c-hanging-comment-ender-p: nil
82 * indent-tabs-mode: nil