16.20 - Exception Handling - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
April 2020
Content Type
Programming Reference
Publication ID
English (United States)

The Java method that you write to implement an external routine (UDF or external stored procedure) can use the SQLException class to throw an exception. The method may also need to handle exceptions that are thrown when the method uses a Teradata application class and an error occurs.