སྟོན་རྐྱངམ་ཅིག་
0:03
S… Speaker 1 (13- Summary)
Let's quickly recap what you learned in this section.
0:05
S… Speaker 1 (13- Summary)
We have three types of exceptions in Java.
0:08
S… Speaker 1 (13- Summary)
We have checked exceptions that get checked at compile time.
0:11
S… Speaker 1 (13- Summary)
These are the exceptions that we should anticipate and explicitly handle.
0:15
S… Speaker 1 (13- Summary)
We also have runtime exceptions that occur as a result of programming
0:19
S… Speaker 1 (13- Summary)
errors, and we have errors that represent external errors.
0:23
S… Speaker 1 (13- Summary)
To handle exceptions,
0:24
S… Speaker 1 (13- Summary)
we wrap our code inside a try -catch block.
0:26
S… Speaker 1 (13- Summary)
We can have multiple catch blocks to catch different types of exceptions.
0:31
S… Speaker 1 (13- Summary)
To throw an exception,
0:32
S… Speaker 1 (13- Summary)
we use the throw keyword.
0:33
S… Speaker 1 (13- Summary)
We can create custom exceptions by subclassing the exception or
0:37
S… Speaker 1 (13- Summary)
the runtime exception class.
0:38
S… Speaker 2 (13- Summary)
And finally,
0:39
S… Speaker 1 (13- Summary)
we can wrap an exception inside a more general exception.
0:42
S… Speaker 1 (13- Summary)
This technique is called chain -in exceptions and is used in building libraries
0:47
S… Speaker 1 (13- Summary)
and frameworks.
0:48
S… Speaker 1 (13- Summary)
So that brings us to the end of this section.
0:50
S… Speaker 1 (13- Summary)
In the next section,
0:51
S… Speaker 1 (13- Summary)
we're going to talk about generics.
0:52
S… Speaker 1 (13- Summary)
So I will see you in the next section.

ཡིག་སྒྱུར་འདི་ བཅོས་མའི་བློ་རིག་ (སྒྲ་ངོས་འཛིན་བྱེད་པའི་འཕྲུལ་རིག་) གིས་བཟོ་སྟེ་ཡོདཔ་ཨིན། ནང་ལུ་འཛོལ་བ་ཡོད་སྲིད་པ་ལ་ གལ་སྲིད་ཁག་ཆེ་བའི་དོན་ལས་ ངོ་མཚར་སྒྲ་སྐད་དང་བསྡུར་ཞིབ་དཔྱད་འབད་དགོཔ་ཨིན། བཅོས་མའི་བློ་རིག་གི་སྲིད་བྱུས་

❤️ STT.ai ལ་དགའ་བ་ཡིན་ནོ? སླབ་པར་བགྱི!
བཅུད་དོན་
Click Summarize to generate an AI summary of this transcript.
དྲན་ཐོ་བསྡུ་གསོག...
དྲན་ཤེས་ལ་དྲི་བ་དྲིས་ལན་ཞུ།
ཡིག་ཆ་འདི་གི་སྐོར་ལ་དྲི་བ་ཅི་རིགས་ཞུས་ནའང་ བཅོས་མའི་བློ་རིག་གིས་ འབྲེལ་བ་ཡོད་པའི་དོན་ཚན་ཚུ་ འཚོལ་ཞིབ་ དང་ལན་འདེབས་ འབད་འོང་།