downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Öntanımlı Arayüzler> <ErrorException::__construct
Last updated: Tue, 17 Nov 2009

view this page in

ErrorException::getSeverity

(PHP 5 >= 5.1.0)

ErrorException::getSeverityİstisnanın önem derecesi ile döner

Açıklama

final public int ErrorException::getSeverity ( void )

İstisnanın önem derecesini döndürür.

Değiştirgeler

Bu işlevin değiştirgesi yoktur.

Dönen Değerler

İstisnanın önem derecesini döndürür.

Örnekler

Örnek 1 - ErrorException::getSeverity() örneği

<?php
try {
    throw new 
ErrorException("İstisna iletisi"075);
} catch(
ErrorException $e) {
    echo 
"Bu istisnanın önem derecesi: " $e->getSeverity();
}
?>

Yukarıdaki örnek şuna benzer bir çıktı üretir:

Bu istisnanın önem derecesi: 75



add a note add a note User Contributed Notes
ErrorException::getSeverity
There are no user contributed notes for this page.

Öntanımlı Arayüzler> <ErrorException::__construct
Last updated: Tue, 17 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites