PHP 8.3.4 Released!

La classe SNMPException

(PHP 5 >= 5.4.0, PHP 7, PHP 8)

Introduction

Représente une erreur lancée par SNMP. Vous ne devez pas lancer une exception SNMPException depuis votre code. Voir les exceptions pour plus d'informations sur les exceptions en PHP.

Synopsis de la classe

class SNMPException extends RuntimeException {
/* Propriétés héritées */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Méthodes héritées */
public Exception::__construct(string $message = "", int $code = 0, ?Throwable $previous = null)
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
}

Propriétés

code

Code erreur de la bibliothèque SNMP. Utiliser la fonction Exception::getCode() pour y accéder.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top