--- title: "Handle the PED Exception Callback" url: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/java-native-interface-integration/extras-jni/handle-the-ped-exception-callback-jni" source_url: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/java-native-interface-integration/extras-jni/handle-the-ped-exception-callback-jni.md" canonical: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/java-native-interface-integration/extras-jni/handle-the-ped-exception-callback-jni" last_modified: "2026-05-24T12:54:31+02:00" language: "en" --- # Handle the PED Exception Callback [View source](/point-of-sale/classic-library-deprecation/classic-library-integrations/java-native-interface-integration/extras-jni/handle-the-ped-exception-callback-jni.md) ## Callback | Name | Description | | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `pedExceptionCallback` | Returned when** **an exception occurs during a `tender` or `giftCard` operation. The parameter `transaction` is a parent class of both `tender` and `giftCard` classes, defining the common attributes. The callback returns the following parameters: | ## Callback Response Attributes | Name | Description | | ----------------- | -------------------------------------------------------------------------------------------------- | | `additionalData` | Adyen returns the `additionalData` object, a generic container that can hold extra response fields | | `tenderReference` | Reference the PED provides for the transaction, used in reporting on the Adyen payments platform. | | `tenderState` | Transaction state | | `adyenResult` | Transaction result details |