public static function error( $num, $message, $file, $line ) 
	{	
		$exception = new CCException( static::$error_types[$num]." - ".$message, 0, $num, $file, $line );
		
		if ( static::is_fatal_level( $num ) ) 
		{
			if ( static::$in_shutdown_process ) 
			{
				static::exception( $exception );
			} else 
			{
				throw $exception;
			}
		} else 
		{
			static::$non_fatals[] = $exception; 
		}
	}
public static function error( $num, $message, $file, $line ) 
	{	
		$exception = new CCException( static::$error_types[$num]." - ".$message, 0, $num, $file, $line );
		
		if ( static::is_fatal_level( $num ) ) 
		{
			if ( static::$in_shutdown_process ) 
			{
				static::exception( $exception );
			} else 
			{
				throw $exception;
			}
		} else 
		{
			static::$non_fatals[] = $exception; 
		}
	}
public static function error ( $ num , $ message , $ file , $ line ) { $ exception = new CCException ( static :: $ error_types [ $ num ] . " - " . $ message , 0 , $ num , $ file , $ line ) ; if ( static :: is_fatal_level ( $ num ) ) { if ( static :: $ in_shutdown_process ) { static :: exception ( $ exception ) ; } else { throw $ exception ; } } else { static :: $ non_fatals [ ] = $ exception ; } }
The error handler converts PHP errors to CCExceptions.
These get handled by the CCError exception handler.

Also the error handler decides the fatality of an error.

@param CCException 	$exception
@return void
The error handler converts PHP errors to CCExceptions . These get handled by the CCError exception handler .