Class MultipleBagFetchException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MultipleBagFetchException
    extends HibernateException
    Exception used to indicate that a query is attempting to simultaneously fetch multiple bags
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List getBagRoles()
      Retrieves the collection-roles for the bags encountered.
      • 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

      • MultipleBagFetchException

        public MultipleBagFetchException​(java.util.List bagRoles)
    • Method Detail

      • getBagRoles

        public java.util.List getBagRoles()
        Retrieves the collection-roles for the bags encountered.
        Returns:
        The bag collection roles.