Stud.IP  4.2 Revision
ErrorHandler Class Reference
Collaboration diagram for ErrorHandler:
Collaboration graph

Public Member Functions

 __construct ()
 
 getStatus ($status=NULL)
 
 getMaxStatus ($status)
 
 getMinStatus ($status)
 
 getErrors ($status=NULL)
 
 getAllErrors ()
 
 nextError ($status)
 
 throwError ($status, $message, $file='', $line='')
 
 throwSingleError ($index, $status, $message, $file='', $line='')
 

Data Fields

const ERROR_NORMAL = 1
 
const ERROR_MESSAGE = 2
 
const ERROR_WARNING = 4
 
const ERROR_CRITICAL = 8
 
const ERROR_FATAL = 16
 
 $errors
 
 $status
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Member Function Documentation

◆ getAllErrors()

getAllErrors ( )

◆ getErrors()

getErrors (   $status = NULL)

◆ getMaxStatus()

getMaxStatus (   $status)

◆ getMinStatus()

getMinStatus (   $status)

◆ getStatus()

getStatus (   $status = NULL)

◆ nextError()

nextError (   $status)
Here is the caller graph for this function:

◆ throwError()

throwError (   $status,
  $message,
  $file = '',
  $line = '' 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ throwSingleError()

throwSingleError (   $index,
  $status,
  $message,
  $file = '',
  $line = '' 
)
Here is the call graph for this function:

Field Documentation

◆ $errors

$errors

◆ $status

$status

◆ ERROR_CRITICAL

const ERROR_CRITICAL = 8

◆ ERROR_FATAL

const ERROR_FATAL = 16

◆ ERROR_MESSAGE

const ERROR_MESSAGE = 2

◆ ERROR_NORMAL

const ERROR_NORMAL = 1

◆ ERROR_WARNING

const ERROR_WARNING = 4

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