Només mostrar
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.

Aquesta transcripció ha estat generada pel reconeixement de l' IA (rector automàtic de veu). Pot contenir errors d' error per verificar contra l' àudio original per a l' ús crític. Política IA

❤️ T'agrada STT.ai? Explica-ho als teus amics!
Resum
Cliqueu Summarize per generar un resum de la IA d' aquesta transcripció.
Summaring...
Pregunta a la IA sobre aquest entorn
Pregunta tot el que sigui d'aquesta transcripció, la IA cercarà seccions i respostes rellevants.