SNMP
PHP Manual

SNMPException クラス

(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)

導入

SNMP で発生するエラーを表します。自分のコードから SNMPException をスローしてはいけません。 PHP における例外処理の詳細な情報は 例外 を参照ください。

クラス概要

SNMPException extends RuntimeException {
/* プロパティ */
protected string $message ;
protected string $code ;
/* 継承したメソッド */
final public string Exception::getMessage ( void )
final public Exception Exception::getPrevious ( void )
final public mixed Exception::getCode ( void )
final public string Exception::getFile ( void )
final public int Exception::getLine ( void )
final public array Exception::getTrace ( void )
final public string Exception::getTraceAsString ( void )
public string Exception::__toString ( void )
final private void Exception::__clone ( void )
}

プロパティ

message

エラーメッセージ。Exception::getMessage() でアクセスします。

code

SNMP ライブラリのエラーコード。Exception::getCode() でアクセスします。


SNMP
PHP Manual