SNMP
PHP Manual

Класс SNMPException

(PHP 5 >= 5.4.0, PHP 7)

Введение

Представляет класс исключения, выбрасываемого SNMP. Вы не должны выбрасывать исключения SNMPException самостоятельно. Более подробно об исключениях в PHP читайте в разделе Исключения.

Обзор классов

SNMPException extends RuntimeException {
/* Свойства */
protected string $code ;
/* Наследуемые свойства */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* Наследуемые методы */
final public string Exception::getMessage ( void )
final public Throwable 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 )
}

Свойства

code

Код ошибки библиотеки SNMP. Для его извлечения используйте Exception::getCode().


SNMP
PHP Manual