All language subtitles for 050 Contacts – Part 7 (Solution)_en

af Afrikaans
ak Akan
sq Albanian Download
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian Download
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean Download
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

The last step is to bulletproof the application, in other words, working to make sure the application

doesn't fail or crash no matter what.

All right, let's run the up.

And the first vulnerability in the opposite, the user enters a blank name or phone number.

The constructor is going to throw in a legal argument exception once again, this is an unchecked exception

because it occurs during the runtime, but under no circumstance should be let the application crash.

If we get an unchecked exception, that means there's something wrong or there's something missing in

your code.

And what's missing in this case is code that anticipates a scenario where the user may enter a blank

name or phone number, so we'll say if name DOT is blank or if the number they pass on is blank.

Then we'll just print the input you provided is not valid registration, f�ilte.

Otherwise, we can add the contact.

If you run the app.

Good.

But another illegal argument exception crashes the app if the user enter the phone number, that's less

than five characters.

Once again, an unchecked exception implies we're missing something in the code.

And all we gotta do is check if the phone number is less than five characters, then we're going to

tell the user that their input is not valid.

And with this final line of code, proud to say that we're all finished.

Just like that, our application is bulletproof, no matter what the user throws at you, the application

is free of bugs and it's never going to crash.

It can process any input and respond accordingly.

In the end, exception handling, which involves catching checked exceptions and fixing unchecked exceptions,

is the key to building bulletproof applications.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.