classes/phing/Phing.php
public static function printMessage(Throwable $t)
    {
        if (self::$err === null) { // Make sure our error output is initialized
            self::initializeOutputStreams();
        }
        if (self::getMsgOutputLevel() >= Project::MSG_VERBOSE) {
            self::$err->write((string) $t . PHP_EOL);
        } else {
            self::$err->write($t->getMessage() . PHP_EOL);
        }
    }
public static function printMessage(Throwable $t)
    {
        if (self::$err === null) { // Make sure our error output is initialized
            self::initializeOutputStreams();
        }
        if (self::getMsgOutputLevel() >= Project::MSG_VERBOSE) {
            self::$err->write((string) $t . PHP_EOL);
        } else {
            self::$err->write($t->getMessage() . PHP_EOL);
        }
    }
public static function printMessage ( Throwable $ t ) { if ( self :: $ err === null ) { // Make sure our error output is initialized self :: initializeOutputStreams ( ) ; } if ( self :: getMsgOutputLevel ( ) >= Project :: MSG_VERBOSE ) { self :: $ err -> write ( ( string ) $ t . PHP_EOL ) ; } else { self :: $ err -> write ( $ t -> getMessage ( ) . PHP_EOL ) ; } }
Prints the message of the Exception if it's not null.

@param Exception $t
Prints the message of the Exception if it s not null .