Class AttributePersistenceException

    • Constructor Detail

      • AttributePersistenceException

        public AttributePersistenceException​(java.lang.String message,
                                             TypeAttributeDescriptor descriptor,
                                             PersistenceContext context)
        Instantiates this exception
        Parameters:
        message - a message for the new exception instance.
        descriptor - descriptor of the attribute, whose value could not be persisted.
        context - context of the item being persisted.
      • AttributePersistenceException

        public AttributePersistenceException​(java.lang.String message,
                                             TypeAttributeDescriptor descriptor,
                                             PersistenceContext context,
                                             java.lang.Throwable cause)
        Instantiates this exception
        Parameters:
        message - a message for the new exception instance.
        descriptor - descriptor of the attribute, whose value could not be persisted.
        context - context of the item being persisted.
        cause - a failure converted into this exception.
    • Method Detail

      • getPersistenceContext

        public PersistenceContext getPersistenceContext()
        Provides context associated with the attribute persistence failure.
        Returns:
        a persistence context being processed when the failure occurred.
      • getIntegrationKey

        public java.lang.String getIntegrationKey()
        Retrieves integration key of the root (original) item associated with the context.
        Returns:
        integration key of the payload root item.