code/libraries/joomlatools/library/exception/handler/abstract.php
public function disable($type = self::TYPE_ALL)
    {
        if(($type & self::TYPE_EXCEPTION) && ($this->_exception_type & self::TYPE_EXCEPTION))
        {
            restore_exception_handler();
            $this->_exception_type ^= self::TYPE_EXCEPTION;
        }

        if(($type & self::TYPE_ERROR) && ($this->_exception_type & self::TYPE_ERROR))
        {
            restore_error_handler();
            $this->_exception_type ^= self::TYPE_ERROR;
        }

        if(($type & self::TYPE_FAILURE) && ($this->_exception_type & self::TYPE_FAILURE))
        {
            //Cannot unregister shutdown functions. Check in handler to see if it's enabled.
            $this->_exception_type ^= self::TYPE_FAILURE;
        }

        return $this;
    }
public function disable($type = self::TYPE_ALL)
    {
        if(($type & self::TYPE_EXCEPTION) && ($this->_exception_type & self::TYPE_EXCEPTION))
        {
            restore_exception_handler();
            $this->_exception_type ^= self::TYPE_EXCEPTION;
        }

        if(($type & self::TYPE_ERROR) && ($this->_exception_type & self::TYPE_ERROR))
        {
            restore_error_handler();
            $this->_exception_type ^= self::TYPE_ERROR;
        }

        if(($type & self::TYPE_FAILURE) && ($this->_exception_type & self::TYPE_FAILURE))
        {
            //Cannot unregister shutdown functions. Check in handler to see if it's enabled.
            $this->_exception_type ^= self::TYPE_FAILURE;
        }

        return $this;
    }
public function disable ( $ type = self :: TYPE_ALL ) { if ( ( $ type & self :: TYPE_EXCEPTION ) && ( $ this -> _exception_type & self :: TYPE_EXCEPTION ) ) { restore_exception_handler ( ) ; $ this -> _exception_type ^= self :: TYPE_EXCEPTION ; } if ( ( $ type & self :: TYPE_ERROR ) && ( $ this -> _exception_type & self :: TYPE_ERROR ) ) { restore_error_handler ( ) ; $ this -> _exception_type ^= self :: TYPE_ERROR ; } if ( ( $ type & self :: TYPE_FAILURE ) && ( $ this -> _exception_type & self :: TYPE_FAILURE ) ) { //Cannot unregister shutdown functions. Check in handler to see if it's enabled. $ this -> _exception_type ^= self :: TYPE_FAILURE ; } return $ this ; }
Disable exception handling

@param integer $type The type of exceptions to disable
@return $this
Disable exception handling