Love these tutorials. Short and straight to the point with concise, clear examples. Well done. I have learned a lot. Terrific. Thank you.
@karthickrajalearn5 жыл бұрын
In 3m 52sec Great Tip Whenever we know that Exception Name that time we have to use "on" keyword In 5m 16sec Thanks for Mentioning Comments as Notes
@raymkfc6 ай бұрын
I've learnt a lot so far from this Dart series! Really really thanks a lot! Very clear and solid teaching!
@vighneshsharma2 жыл бұрын
For all the peeps who are facing error in dartpad The issue here is that dart2js, which DartPad is based on, does not throw an IntegerDivisionByZeroException (which should really be named DivisionByZeroError, but alas, isn't) when you do integer division by zero. It throws, but it's using UnsupportedError instead, which is otherwise a good choice for such an error. Dart2js is not wrong. Neither the language specification, nor the library documentation for num.~/ says that it should throw that particular error type. Still, it's inconsistent with the other compilers, so we may want to make it consisent. or simply try replacing the error recieved with IntegerDivisionByZeroException with the error found i.e void main(){ try { int result = 12 ~/ 0; print (result); } on UnsupportedError { print("hogaya solve"); }finally{ print("cool"); } }
@Mariam_ArrashidАй бұрын
thanks
@andrewmukelabai82095 жыл бұрын
Hats off man! Absolutely well presented! The content just flows. Your ability to compress key concepts so well and clearly is just amazing! Thanks for this work.
@ErangadeSaramEra5 жыл бұрын
Hats off, your a born teacher (lecturer), Thanks for these lessons
@leonvanrijswijk84095 жыл бұрын
I really like your way of explaining: structured, complete, clear and usable. Hope you will be making more Flutter vids in the future. Thanks.
@yashchandratray7744 жыл бұрын
Wow great, The way he will explain everyone can easily know how to fix all problems by exception
@PrimaClicks4 жыл бұрын
Perfect ehhehe, well-done dear, your huge efforts make this easy.
@webemerson1015 жыл бұрын
as usual very informative! you deserve my like and subscribe more power!
@abraramirhussain67784 жыл бұрын
you're tutorials are awesome. keep it up
@saisasisai4 жыл бұрын
Nice 👌 Tutorial series ...!
@sabinjose6 жыл бұрын
Good Video.. Well presented!
@ranjitjohnbgl4 жыл бұрын
Its really a great effort....! Thanks a lot! Meanwhile when i tried following code, //exception handling using by clause void main(){ try { int i= 12 ~/ 0; print (i); } on IntegerDivisionByZeroException { print ("number can not be divided by zero"); } } It throws this error "Error: Unsupported operation: Result of truncating division is Infinity: 12 ~/ 0". Can you please explain?
@pratik18532 жыл бұрын
replace integerdivisionbyzeroexception by UnsupportedError
@Meeshalkumar5 жыл бұрын
What if I'll return while in catch ( when using functions), will the finally still run?
@dipendrasaini5 жыл бұрын
void main() { try { int x =12 ~/ 0; print("the result is $x"); } on IntegerDivisionByZeroException { print("cannot devide by zero"); } } // gives me this type of error Uncaught exception: Unsupported operation: Result of truncating division is Infinity: 12 ~/ 0 its mean exception is not handled by the on clause?
@programan63915 жыл бұрын
I've got the same here dartpad. dartlang. org, but works fine on my pc, maybe some issue on dartpad . org.
@lyricsstudio62104 жыл бұрын
I got same problem on dartpad. I guess there is a problem on website
@heyjainam4 жыл бұрын
same issue.
@abhaythakur85725 жыл бұрын
great video man
@yuvrajrana6782 жыл бұрын
keep it up bro.
@Techie77815 жыл бұрын
Well explained... ♥️♥️👏👏👏
@apnatuitioncoding3 жыл бұрын
what is live example of stack strace..
@krishnakumarramachandran58886 жыл бұрын
Good Explanation Sir👌
@smartherd6 жыл бұрын
Thanks
@foodiepoode3 жыл бұрын
Wow amazing
@armagan_gok3 жыл бұрын
dude, you should consider updating videos, there are some new stuffs in dart
@annenicole41124 жыл бұрын
Thank you so much for your videos, you're a natural born teacher! About handling Exceptions, when I test code in DartPad, I just get this message in the console "Script error". I'd like to test in Android studio to get full error messages, but I don't know how to run code directly in the console, without an emulator. Anyone could help me? Cheers
@attimeequalszero67504 жыл бұрын
Hi, Hope you have found the solution, if not consider trying this stackoverflow.com/questions/53888000/how-to-run-dart-in-android-studio/53888108 For practicing dart you can consider using Visual Studio Code instead of Android studio.
@SeraphimTech_io6 жыл бұрын
hi how many videos are there for dart tutorial? and when you are going to start flutter tutorial? thanks a lot
@smartherd6 жыл бұрын
15 more
@amianand3 жыл бұрын
sir, your code file link does not work. please help sir
@pratik18532 жыл бұрын
replace integerdivisionbyzeroexception by UnsupportedError for all of you who is getting error on dartpad
@Nicosfrs2 жыл бұрын
IntegerDivisionByZeroException is now deprecated, what should I use instead?
@udochukwuabazie5895 Жыл бұрын
UnsupportedError
@saptorshedas86865 жыл бұрын
How to take user input in dart?
@kamalams68003 жыл бұрын
Your code is not working in dartpad, Atom and vs code also. Kindly try helping us Smartherd people. Please
@pratik18532 жыл бұрын
its working just replace integerdivisionbyzeroexception by UnsupportedError
@Funtainer0074 жыл бұрын
Perfect
@rogiergorter62144 жыл бұрын
I find it anyway difficult to implement these error exceptions in code.
@sunilchowdary50383 жыл бұрын
Your code is not working in dartpad and vs code also !!!