Class TGMDK_Exception

Description

TGMDK_Exception ログ出力クラス

  • copyright: VeriTrans Inc.

Located in /TGMDK_Exception.php (line 13)

Exception
   |
   --TGMDK_Exception
Class Constant Summary
Method Summary
string getTraceMessage ()
string get_v_result_code ()
TGMDK_Exception __construct (mixed $error)
Variables

Inherited Variables

Inherited from Exception (Internal Class)

$code
$file
$line
$message
$previous
$string
$trace
Methods
getTraceMessage (line 127)

トレースメッセージを取得する

  • return: トレースメッセージ
  • access: public
string getTraceMessage ()
get_v_result_code (line 117)

処理結果コードを返す

エラーメッセージコードに必要な分の0埋めをした文字列

  • return: 処理結果コード
  • access: public
string get_v_result_code ()
Constructor __construct (line 72)

コンストラクタ

$errorがExceptionクラスの場合は当クラス内部に保持し、 $errorがStringの場合は通常通りに生成する。 差は、トレースを取得するgetTraceMessageメソッドに差が出る。

  • exception: メッセージファイル読み込みエラーで例外を返す
  • access: public
TGMDK_Exception __construct (mixed $error)
  • mixed $error: Exception or String

Redefinition of:
Exception::constructor __construct ( [$message = ], [$code = ], [$previous = ] )

Inherited Methods

Inherited From Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getPrevious ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )
Class Constants
MA01_CONFIG_MISSING = "MA01" (line 23)

エラーを示す定数 : プロパティファイル読み込みエラー

MA02_CONFIG_NOT_CORRECT = "MA02" (line 25)

エラーを示す定数 : プロパティ書式エラー

MA03_FILE_DOES_NOT_EXIST = "MA03" (line 27)

エラーを示す定数 : ファイル存在チェックエラー

MA04_MESSAGE_ENCRYPT_ERROR = "MA04" (line 29)

エラーを示す定数 : 暗号化エラー

MA05_CONF_FILE_DOES_NOT_EXIST = "MA05" (line 31)

エラーを示す定数 : エラーメッセージファイル読み込みエラー

MA06_MESSAGE_DECRYPT_ERROR = "MA06" (line 33)

エラーを示す定数 : 復号化エラー

MA07_INVALID_DTO_VALUE_TYPE = "MA07" (line 35)

エラーを示す定数 : DTOパラメータに文字列以外エラー

MA99_SYSTEM_INTERNAL_ERROR = "MA99" (line 37)

エラーを示す定数 : アプリケーション系の予期しないエラー

MB01_NOT_FOUND_CONFIG_FILE = "MB01" (line 41)

エラーを示す定数 : プロパティファイル読み込みエラー

MB02_CANNOT_READ_CONFIG_FILE = "MB02" (line 43)

エラーを示す定数 :

MB03_SSLSOCKET_CREATION_FAILED = "MB03" (line 45)

エラーを示す定数 : SSL通信時の暗号に失敗

MB99_SYSTEM_INTERNAL_ERROR = "MB99" (line 47)

エラーを示す定数 : 設定関係の予期しないエラー

MF01_PROXY_ERROR = "MF01" (line 51)

エラーを示す定数 : プロキシサーバへの接続エラー

MF02_CANNOT_CONNECT_TO_GW = "MF02" (line 53)

エラーを示す定数 : サーバへの接続エラー

MF03_SERVER_TIME_OUT = "MF03" (line 55)

エラーを示す定数 : サーバへの接続タイムアウト

MF99_SYSTEM_INTERNAL_ERROR = "MF99" (line 57)

エラーを示す定数 : 通信系の予期しないエラー

Documentation generated on Thu, 16 Feb 2017 18:05:57 +0900 by phpDocumentor 1.4.4