Class: ExceptionObLib

Attributes:
Inherits:
Implements:

Contents:

Introduction

Meta Data

Attention
Attention: There is no meta data for this class.

Constants

There are no constants defined for this class.

Properties

Methods

Also See

Attention
Attention: There are no additional references for this class.

Class Syntax

In file D:\oblib-core\php\exception\oblib.exception.php between lines 45 and 77.

<?php
 
    
/**
     * 
     */

    
abstract class ExceptionObLib extends Exception
    
{
        
        protected 
$Exception;
        
        final function 
__construct ()
        {
            
parent::__construct ();
            
            if (
DEBUG)
            {
                
$this->Exception = new dataException ($this);
                
                
$arrParams func_get_args ();
                
                
$strExceptionText call_user_func_array (
                    Array (
$this'___exception'),
                    
$arrParams
                
);
                
                
$this->Exception->___Push (new dataString ('Message'$strExceptionText));
                
                
$cntController = new dataControllerException ($this->Exception);
                
$cntController->___Output (DIR_SYS '/xsl/error/exception.xsl');
                exit;
            }
        }
        
        function 
__toString ()
        {
            return 
$this->Exception->__toString ();
        }
    }

?>