Class EmptyCollectionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class EmptyCollectionException
    extends CollectionException
    Thrown to indicate that an operation can not be performed on an empty collection.
    Version:
    $Revision$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      The serialVersionUID
    • Constructor Summary

      Constructors 
      Constructor Description
      EmptyCollectionException()
      Construct a EmptyCollectionException with no detail.
      EmptyCollectionException​(java.lang.String msg)
      Construct a EmptyCollectionException with the specified detail message.
    • 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
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        The serialVersionUID
        See Also:
        Constant Field Values
    • Constructor Detail

      • EmptyCollectionException

        public EmptyCollectionException​(java.lang.String msg)
        Construct a EmptyCollectionException with the specified detail message.
        Parameters:
        msg - Detail message.
      • EmptyCollectionException

        public EmptyCollectionException()
        Construct a EmptyCollectionException with no detail.