0% found this document useful (0 votes)
8 views1 page

Programmer User Exception

The document discusses the types of errors in software development, including syntax errors, logical errors, and runtime errors, emphasizing the developer's responsibility for syntax and logical errors, while users are accountable for runtime errors. It explains that runtime errors can lead to program crashes and can be mitigated through robust exception handling by developers. An example is provided to illustrate how exceptions can be raised to prompt users for necessary inputs.

Uploaded by

rpatnaik1997
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Programmer User Exception

The document discusses the types of errors in software development, including syntax errors, logical errors, and runtime errors, emphasizing the developer's responsibility for syntax and logical errors, while users are accountable for runtime errors. It explains that runtime errors can lead to program crashes and can be mitigated through robust exception handling by developers. An example is provided to illustrate how exceptions can be raised to prompt users for necessary inputs.

Uploaded by

rpatnaik1997
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Programmer user exception

Developer develops software or app and client uses it

Types of errors
1. syntax error
2. Logical error
[Link] error

a developer has to give error free software to user

[Link] error: developer is responsible for syntax error.

2. Logical error: These errors depicts aws in the logic of program The program might be using
wrong formula or the design of the program is wrong itself . Logical errors are not detected either
by python compiler or Pam. The programmer is solely responsible for them.

3. Runtime error: The reason could be giving invalid input


File not available, no connection, etc.

• Runtime errors are caused due to mishandling a software at client side

• Due to runtime error program crashes stops suddenly

• User is responsible for runtime error


• But when developer gives robust idea it can be handled means Exception handling given in
program.

How to handle the runtime error?

Example:

A printer :

When the manufacturer gives any property on which the printer will blinks if paper is not
inserted.
It blinks because it needs some input means it is raising an exception.
Like wise also a developer can raise an exception asking user to check if there is anything
missing.
fl

You might also like