Java SDK Documentation  24.2.0
com.vertica.sdk.UdfException Class Reference
Inheritance diagram for com.vertica.sdk.UdfException:
Inheritance graph
Collaboration diagram for com.vertica.sdk.UdfException:
Collaboration graph

Public Member Functions

 UdfException (int errorcode, Throwable causedBy)
 
 UdfException (int errorcode, String message, Throwable causedBy)
 
 UdfException (int errorcode, String message)
 

Public Attributes

int errorcode
 

Detailed Description

Contains error information, UDx code can throw object of this class to Vertica to indicate an error

Constructor & Destructor Documentation

◆ UdfException() [1/3]

com.vertica.sdk.UdfException.UdfException ( int  errorcode,
Throwable  causedBy 
)

Constructor

Parameters
errorcodea numeric id that UDx can use to indicate the error.
causedByan uncaught Throwable that caused the UDF to fail

◆ UdfException() [2/3]

com.vertica.sdk.UdfException.UdfException ( int  errorcode,
String  message,
Throwable  causedBy 
)

Constructor

Parameters
errorcodea numeric id that UDx can use to indicate the error.
messagea human readable error message
causedByan uncaught Throwable that caused the UDF to fail

◆ UdfException() [3/3]

com.vertica.sdk.UdfException.UdfException ( int  errorcode,
String  message 
)

Constructor

Parameters
errorcodea numeric id that UDx can use to indicate the error.
messagea human readable error message.