Class OrderedInputProcessingException

  • All Implemented Interfaces:
    Serializable

    @PublicAPI
    @Beta
    public class OrderedInputProcessingException
    extends IllegalArgumentException
    Processing an item from an ordered list of items failed.

    Please note that this class is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.

    See Also:
    Serialized Form
    • Constructor Detail

      • OrderedInputProcessingException

        public OrderedInputProcessingException​(int inputIndex,
                                               Throwable cause)
        Construct.
        Parameters:
        inputIndex - Associated element index. Expected to be 0-based.
        cause - Cause
      • OrderedInputProcessingException

        public OrderedInputProcessingException​(OrderedElement<?> input,
                                               Throwable cause)
        Construct.
        Parameters:
        input - Associated element
        cause - Cause
    • Method Detail

      • getInputIndex

        public int getInputIndex()
        Represented element index.
        Returns:
        Represented element index