SlideShare a Scribd company logo
Nusrat Jahan Nisha (152-15-6023)
Raisa Tabassum (152-15-6022)
Sumiya Sarah (152-15-5689)
Susmita Sen (152-15-6027)
Fatema Zannat (152-15-6048)
Umme Sabiha Alma (152-15-6031)
THE QUEEN BEES
APPLICATION OF
Exception
Exception handling
Nature of Exception
How exception can be handled
Advantages & disadvantages
Conclusion
TOPICS OF DISCUSSION:
EXCEPTION
A process that used in responding to the
occurrence, during computation
of exceptions :
anomalous or exceptional conditions
requiring special processing
changing the normal flow of program
execution
EXCEPTION HANDLING?
Exceptions due to
programming errors
client code errors
resource failures
NATURE OF EXCEPTIONS
Null pointer Errors:
 Runtime Exception
EXCEPTIONS DUE TO
PROGRAMMING ERRORS
Illegal Exception Error
A runtime error
EXCEPTIONS DUE TO
PROGRAMMING ERRORS
Sumiya Sarah
152-15-5689
Client code attempts something not
allowed by the API
This Exception contains useful
information about the location in the
XML document that causes the
problem
The client can use this information
to take recovery steps.
EXCEPTIONS DUE TO
CLIENT CODE ERRORS
EXCEPTIONS DUE TO
CLIENT CODE ERRORS
EXCEPTIONS DUE TO
CLIENT CODE ERRORS
Umme Sabiha Alma
152-15-6031
Exceptions that get generated
when resources fail
system runs out of memory , or
 a network connection fails
EXCEPTIONS DUE TO
RESOURCES FAILURES
EXCEPTIONS DUE TO
RESOURCES FAILURES
Raisa Tabassum
152-15-6022
Susmita Sen
152-15-6027
Keywords used in exception handling:
Try
Catch
Finally
Throw
Throws
HOW EXCEPTION CAN BE HANDLED
Fatema Zannat
152-15-6048
Throw: System-generated exceptions are
automatically thrown by the Java run-
time system.
Throws: If a method is capable of
causing an exception that it does not
handle, it must specify this behavior so
that callers of the method can guard
themselves against that exception.
THROW AND THROWS
Identifies Error Types
Separate error, handling codes from
normal code
Clarifies the code and enhances
readability
Makes clear and fault-tolerate
program
ADVANTAGES
Exception handling can never
be a disadvantage, you either
need it or you don't in which
case your application can
crash.
DISADVANTAGES
THANK YOU
application of exception handling

More Related Content

Viewers also liked

Piano di marketing e web communication- Silvia Fedele e Alessandra Spaggiari
Piano di marketing e web communication- Silvia Fedele e Alessandra SpaggiariPiano di marketing e web communication- Silvia Fedele e Alessandra Spaggiari
Piano di marketing e web communication- Silvia Fedele e Alessandra SpaggiariSilvia Fedele
 
TargetSummit Berlin - Mytarget Irina Tripapina
TargetSummit Berlin -  Mytarget Irina TripapinaTargetSummit Berlin -  Mytarget Irina Tripapina
TargetSummit Berlin - Mytarget Irina Tripapina
TargetSummit
 
Inclusione sociale e invecchiamento attivo e in salute , Maiorano - Molinari
Inclusione sociale e invecchiamento attivo e in salute , Maiorano - MolinariInclusione sociale e invecchiamento attivo e in salute , Maiorano - Molinari
Inclusione sociale e invecchiamento attivo e in salute , Maiorano - Molinari
Apulian ICT Living Labs
 
Shelf Life of an Extruded Corn Snack
Shelf Life of an Extruded Corn SnackShelf Life of an Extruded Corn Snack
Shelf Life of an Extruded Corn SnackTamayo Hutton
 
Los archivos intermedios
Los archivos intermediosLos archivos intermedios
Los archivos intermedios
Edison Toledo Díaz
 
Tracsis Employability
Tracsis EmployabilityTracsis Employability
Tracsis EmployabilityMartyn Tobin
 
Crea un ottimo profilo LinkedIn da studente
Crea un ottimo profilo LinkedIn da studenteCrea un ottimo profilo LinkedIn da studente
Crea un ottimo profilo LinkedIn da studente
LinkedIn Italia
 
The importance of community-based collaboration for Robert Bosch GmbH
The importance of community-based collaboration for Robert Bosch GmbH The importance of community-based collaboration for Robert Bosch GmbH
The importance of community-based collaboration for Robert Bosch GmbH
LetsConnect
 
SaaSFest 2015 - "Retention is King" by Dan Wolchonok of HubSpot
SaaSFest 2015 - "Retention is King" by Dan Wolchonok of HubSpotSaaSFest 2015 - "Retention is King" by Dan Wolchonok of HubSpot
SaaSFest 2015 - "Retention is King" by Dan Wolchonok of HubSpot
Price Intelligently
 

Viewers also liked (10)

Piano di marketing e web communication- Silvia Fedele e Alessandra Spaggiari
Piano di marketing e web communication- Silvia Fedele e Alessandra SpaggiariPiano di marketing e web communication- Silvia Fedele e Alessandra Spaggiari
Piano di marketing e web communication- Silvia Fedele e Alessandra Spaggiari
 
3 way calling 1
3 way calling 13 way calling 1
3 way calling 1
 
TargetSummit Berlin - Mytarget Irina Tripapina
TargetSummit Berlin -  Mytarget Irina TripapinaTargetSummit Berlin -  Mytarget Irina Tripapina
TargetSummit Berlin - Mytarget Irina Tripapina
 
Inclusione sociale e invecchiamento attivo e in salute , Maiorano - Molinari
Inclusione sociale e invecchiamento attivo e in salute , Maiorano - MolinariInclusione sociale e invecchiamento attivo e in salute , Maiorano - Molinari
Inclusione sociale e invecchiamento attivo e in salute , Maiorano - Molinari
 
Shelf Life of an Extruded Corn Snack
Shelf Life of an Extruded Corn SnackShelf Life of an Extruded Corn Snack
Shelf Life of an Extruded Corn Snack
 
Los archivos intermedios
Los archivos intermediosLos archivos intermedios
Los archivos intermedios
 
Tracsis Employability
Tracsis EmployabilityTracsis Employability
Tracsis Employability
 
Crea un ottimo profilo LinkedIn da studente
Crea un ottimo profilo LinkedIn da studenteCrea un ottimo profilo LinkedIn da studente
Crea un ottimo profilo LinkedIn da studente
 
The importance of community-based collaboration for Robert Bosch GmbH
The importance of community-based collaboration for Robert Bosch GmbH The importance of community-based collaboration for Robert Bosch GmbH
The importance of community-based collaboration for Robert Bosch GmbH
 
SaaSFest 2015 - "Retention is King" by Dan Wolchonok of HubSpot
SaaSFest 2015 - "Retention is King" by Dan Wolchonok of HubSpotSaaSFest 2015 - "Retention is King" by Dan Wolchonok of HubSpot
SaaSFest 2015 - "Retention is King" by Dan Wolchonok of HubSpot
 

Recently uploaded

BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptxTOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
nikitacareer3
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
dxobcob
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
Mukeshwaran Balu
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
obonagu
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
iemerc2024
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 

Recently uploaded (20)

BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptxTOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 

application of exception handling