16.20 - Exception Handling - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
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.