catch (Exception e) {
System.err.println( e.getMessage()+"\n");
e.printStackTrace();
}لو تكرمتم ماذا تعني StackTrace
وجزيتم خير الجزاء
catch (Exception e) {
System.err.println( e.getMessage()+"\n");
e.printStackTrace();
}لو تكرمتم ماذا تعني StackTrace
وجزيتم خير الجزاء
تم تعديل هذه المشاركة بواسطة nardien28 في 15 يوليو 2007 في 02:05
الداله printStackTrace ، هي داله تقوم بطباعة معلومات حول ال exception ،
من الدوال التي تسببت فيه و ما إسم الملف التي به و ما رقم السطر،
من الأخر كده، بستخدمها عشان أعرف ال excpetion حصل في أنهي سطر.
http://java.sun.com/docs/books/tutorial/es...ions/index.html
from the name print stack track
its prints the steps from
the error is start
so the method and the line and so on
maybe i not say something more
but just for help
السحاب الابيض كتب:from the name print stack trackits prints the steps from
the error is start
so the method and the line and so on
maybe i not say something more
but just for help
هلا تحدتث بلغتنا الجميله :D
ابحث عن موضوع نظره على Exceptions
جزاكم الله خيرا ، وبارك الله فيكم
بصراحة ماوضعت سؤال ولا استفسار ، الا وتجد الردود الرائعة من الاعضاء المتميزين لهذا المنتدى الرائع
الله يجزاكم الجنة جميعا
عيسى عايد العنزي كتب:ابحث عن موضوع نظره على Exceptions
;)
هذا الموضوع مغلق.