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@Cs³G[ |
---|
26 | */ |
---|
27 | define("PaygentB2BModuleException__RESOURCE_FILE_REQUIRED_ERROR", "E01002"); |
---|
28 | |
---|
29 | /** |
---|
30 | * »Ì¼ÌG[ |
---|
31 | */ |
---|
32 | define("PaygentB2BModuleException__OTHER_ERROR", "E01901"); |
---|
33 | |
---|
34 | /** |
---|
35 | * CSVoÍ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 | * RXgN^ |
---|
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 | * bZ[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.