O'Reilly logo

Oracle by Elena Silvestrova Rakhimov, Benjamin Rosenzweig

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8 Error Handling and Built-in Exceptions

CHAPTER OBJECTIVES

In this chapter, you will learn about

• Handling errors

• Built-in exceptions

In Chapter 1, “PL/SQL Concepts,” you encountered two types of errors that can be found in a program: compilation errors and runtime errors. You will recall that a special section in a PL/SQL block handles runtime errors. This is called the exception-handling section, and in it, runtime errors are called exceptions. The exception-handling section allows programmers to specify what actions should be taken when a specific exception occurs.

PL/SQL has two types of exceptions: built-in and user-defined. In this chapter, you will learn how to handle certain kinds of runtime errors with the help of built-in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required