Stud.IP  6.1
EnrolmentException Class Reference
Inheritance diagram for EnrolmentException:
Exception

Data Fields

const ALREADY_MEMBER = 1
 
const INVALID_PERMISSION_LEVEL = 2
 
const PROMOTION_NOT_POSSIBLE = 3
 
const DEMOTION_NOT_POSSIBLE = 4
 
const NO_INSTITUTE_MEMBER = 5
 
const COURSE_IS_FULL = 10
 
const ADD_AWAITING_FAILED = 11
 
- Data Fields inherited from Exception
const GENERAL_ERROR = 0
 
const END_BEFORE_BEGINNING = 1
 

Additional Inherited Members

- Public Member Functions inherited from Exception
 __construct (string $message='', int $code=0, ?\Range $range=null)
 
 getInformation ()
 
 getRange ()
 
- Protected Attributes inherited from Exception
Range $range = null
 

Field Documentation

◆ ADD_AWAITING_FAILED

const ADD_AWAITING_FAILED = 11

ADD_AWAITING_FAILED means that adding a user to the wait list failed.

◆ ALREADY_MEMBER

const ALREADY_MEMBER = 1

ALREADY_MEMBER means that enrolment failed because the user is already a member of the course.

◆ COURSE_IS_FULL

const COURSE_IS_FULL = 10

COURSE_IS_FULL means that no free seat is available for enrolling another user.

◆ DEMOTION_NOT_POSSIBLE

const DEMOTION_NOT_POSSIBLE = 4

DEMOTION_NOT_POSSIBLE means that the user cannot get a lower permission level in the course.

◆ INVALID_PERMISSION_LEVEL

const INVALID_PERMISSION_LEVEL = 2

INVALID_PERMISSION_LEVEL means that the permission level of the user in the course is invalid.

◆ NO_INSTITUTE_MEMBER

const NO_INSTITUTE_MEMBER = 5

NO_INSTITUTE_MEMBER means that enrolment failed because the user is not the member of an institute the course is assigned to.

◆ PROMOTION_NOT_POSSIBLE

const PROMOTION_NOT_POSSIBLE = 3

PROMOTION_NOT_POSSIBLE means that the user cannot get a higher permission level in the course.


The documentation for this class was generated from the following file: