SNMPEXCEPTION(3) 1 SNMPEXCEPTION(3)
The SNMPException class
INTRODUCTION
Represents an error raised by SNMP. You should not throw a SNMPException from your own code. See Exceptions for more information about
Exceptions in PHP.
CLASS SYNOPSIS
SNMPException
SNMPExceptionextends
RuntimeException
Properties
o protected string$code
Inherited properties
o protected string$message
o protected int$code
o protected string$file
o protected int$line
Inherited methods
o finalpublic string Exception::getMessage (void )
o finalpublic Exception Exception::getPrevious (void )
o finalpublic mixed Exception::getCode (void )
o finalpublic string Exception::getFile (void )
o finalpublic int Exception::getLine (void )
o finalpublic array Exception::getTrace (void )
o finalpublic string Exception::getTraceAsString (void )
o public string Exception::__toString (void )
o finalprivate void Exception::__clone (void )
PROPERTIES
o $code
- SNMPlibrary error code. Use Exception.getCode(3) to access it.
PHP Documentation Group SNMPEXCEPTION(3)