Class NoSingleSectionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSingleSectionException
    extends HPSFRuntimeException

    This exception is thrown if one of the PropertySet's convenience methods that require a single Section is called and the PropertySet does not contain exactly one Section.

    The constructors of this class are analogous to those of its superclass and documented there.

    See Also:
    Serialized Form
    • 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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoSingleSectionException

        public NoSingleSectionException()

        Constructor

      • NoSingleSectionException

        public NoSingleSectionException​(java.lang.String msg)

        Constructor

        Parameters:
        msg - The exception's message string
      • NoSingleSectionException

        public NoSingleSectionException​(java.lang.Throwable reason)

        Constructor

        Parameters:
        reason - This exception's underlying reason
      • NoSingleSectionException

        public NoSingleSectionException​(java.lang.String msg,
                                        java.lang.Throwable reason)

        Constructor

        Parameters:
        msg - The exception's message string
        reason - This exception's underlying reason