Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> throw new exception(), do czego to słuzy?
AIRSKY
post
Post #1





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 31.01.2004

Ostrzeżenie: (0%)
-----


w kodzie pewnej klasy widze takie linijki ..
  1. <?
  2. throw new exception()
  3. ?>

wydaje mi sie ze słuzy to do wypisywania błedów... ale nie jestem pewien ..
czy mógłby mi to ktos wyjaśnic lub podac jakis link ( najlepiej po polsku)
pozdr.

Ten post edytował AIRSKY 27.08.2005, 18:03:54
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
chmolu
post
Post #2





Grupa: Zarejestrowani
Postów: 179
Pomógł: 0
Dołączył: 8.10.2004

Ostrzeżenie: (0%)
-----


http://pl2.php.net/manual/en/language.exceptions.php
Go to the top of the page
+Quote Post
hwao
post
Post #3


Developer


Grupa: Moderatorzy
Postów: 2 844
Pomógł: 20
Dołączył: 25.11.2003
Skąd: Olkusz




http://www.zend.com/php5/articles/php5-exceptions.php

Wyjadki, to wyjątki jak w kazdym jezyku (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) poczytaj otym ogolnie - wszedzie sa bardzo podobne (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
bela
post
Post #4


Administrator PHPedia.pl


Grupa: Developerzy
Postów: 1 102
Pomógł: 2
Dołączył: 14.09.2003

Ostrzeżenie: (0%)
-----


Gdzieś tu krąży mój artykuł, poszukaj (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post
Ociu
post
Post #5





Grupa: Moderatorzy
Postów: 1 566
Pomógł: 37
Dołączył: 14.05.2003
Skąd: Kraków




http://wiki.php.pl/index.php/Wyj%C4%85tki
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 18:51