Package net.sf.saxon.s9api.streams

## Class XdmCollectors.MultipleItemException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - net.sf.saxon.s9api.streams.XdmCollectors.MultipleItemException

- All Implemented Interfaces:
    `java.io.Serializable`
  Enclosing class:
    XdmCollectors

      public static class XdmCollectors.MultipleItemException
      extends java.lang.RuntimeException

  Unchecked exception that occurs when a collector method such as `XdmCollectors.asAtomic()` or `XdmCollectors.asOptionalNode()` is called, and the sequence contains more than one item.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MultipleItemException()` |

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MultipleItemException

          public MultipleItemException()