source: branches/feature-module-paygent/data/downloads/module/mdl_paygent/jp/co/ks/merchanttool/connectmodule/exception/PaygentB2BModuleException.php @ 15162

Revision 15162, 1.2 KB checked in by naka, 17 years ago (diff)

ペイジェント決済モジュール

Line 
1<?php
2/**
3 * PAYGENT B2B MODULE
4 * PaygentB2BModuleException.php
5 *
6 * Copyright (C) 2007 by PAYGENT Co., Ltd.
7 * All rights reserved.
8 */
9
10/*
11 * Ú‘±ƒ‚ƒWƒ…[ƒ‹@ŠeŽíƒGƒ‰[—pException
12 *
13 * @version $Revision: 1.6 $
14 * @author $Author: t-mori $
15 */
16 
17    define("PaygentB2BModuleException__serialVersionUID", 1);
18
19    /**
20     * Ý’èƒtƒ@ƒCƒ‹‚È‚µƒGƒ‰[
21     */
22    define("PaygentB2BModuleException__RESOURCE_FILE_NOT_FOUND_ERROR", "E01001");
23
24    /**
25     * Ý’èƒtƒ@ƒCƒ‹•s³ƒGƒ‰[
26     */
27    define("PaygentB2BModuleException__RESOURCE_FILE_REQUIRED_ERROR", "E01002");
28
29    /**
30     * ‚»‚Ì‘¼‚̃Gƒ‰[
31     */
32    define("PaygentB2BModuleException__OTHER_ERROR", "E01901");
33
34    /**
35     * CSVo—̓Gƒ‰[
36     */
37    define("PaygentB2BModuleException__CSV_OUTPUT_ERROR", "E01004");
38
39
40 class PaygentB2BModuleException {
41   
42    /** ƒGƒ‰[ƒR[ƒh */
43    var $errorCode = "";
44
45    /**
46     * ƒRƒ“ƒXƒgƒ‰ƒNƒ^
47     *
48     * @param errorCode String
49     * @param msg String
50     */
51    function PaygentB2BModuleException($errCode, $msg = null) {
52        $this->errorCode = $errCode;
53    }
54
55    /**
56     * ƒGƒ‰[ƒR[ƒh‚ð•Ô‚·
57     *
58     * @return String errorCode
59     */
60    function getErrorCode() {
61        return $this->errorCode;
62    }
63   
64    /**
65     * ƒƒbƒZ[ƒW‚ð•Ô‚·
66     *
67     * @return String code=message
68     */
69    function getLocalizedMessage() {
70    }
71 
72}
73?>
Note: See TracBrowser for help on using the repository browser.