File/lib/exceptions.php

Description

exceptions.php

Definition of Exceptions and functions that throw those exceptions to be used by vmpsd_external and vmps_lastseen

PHP version 5

LICENSE: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

Classes
Class Description
 class DenyException This Exception may be thrown at any point in the decision process to indicate that the current request should be denied This class extends the Exception class.
 class AllowException This Exception may be thrown at any point in the decision process to indicate that the current request should be allowed into a given VLAN This class extends the Exception class.
Functions
ALLOW (line 92)

This function is some syntactic sugar to throw an AllowException

from the policy class. It also handles default vlan

  • throws: AllowException
void ALLOW (int $vlan)
  • int $vlan: Vlan ID of the VLAN we want to assign
DENY (line 40)

This function is some syntactic sugar to throw a DenyException from the

policy class

  • throws: DenyException
void DENY ([ $why = ''])
  • $why

Documentation generated on Mon, 13 Oct 2008 01:10:29 +0200 by phpDocumentor 1.4.0