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.
Constructor and Description |
---|
NoSingleSectionException()
Constructor
|
NoSingleSectionException(java.lang.String msg)
Constructor
|
NoSingleSectionException(java.lang.String msg,
java.lang.Throwable reason)
Constructor
|
NoSingleSectionException(java.lang.Throwable reason)
Constructor
|
getReason
public NoSingleSectionException()
Constructor
public NoSingleSectionException(java.lang.String msg)
Constructor
msg
- The exception's message stringpublic NoSingleSectionException(java.lang.Throwable reason)
Constructor
reason
- This exception's underlying reasonpublic NoSingleSectionException(java.lang.String msg, java.lang.Throwable reason)
Constructor
msg
- The exception's message stringreason
- This exception's underlying reasonCopyright 2018 The Apache Software Foundation or its licensors, as applicable.