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(String msg)
Constructor
|
NoSingleSectionException(String msg,
Throwable reason)
Constructor
|
NoSingleSectionException(Throwable reason)
Constructor
|
getReason
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoSingleSectionException()
Constructor
public NoSingleSectionException(String msg)
Constructor
msg
- The exception's message stringpublic NoSingleSectionException(Throwable reason)
Constructor
reason
- This exception's underlying reasonCopyright © 2020. All rights reserved.