public class MissingSectionException extends HPSFRuntimeException
This exception is thrown if one of the PropertySet
's convenience methods does not find a required Section
.
The constructors of this class are analogous to those of its superclass and documented there.
(如果 PropertySet 的便利方法之一未找到所需的部分,则会引发此异常。此类的构造函数类似于其超类的构造函数,并记录在那里。)Constructor and Description |
---|
MissingSectionException()
Constructor
|
MissingSectionException(java.lang.String msg)
Constructor
|
MissingSectionException(java.lang.String msg, java.lang.Throwable reason)
Constructor
|
MissingSectionException(java.lang.Throwable reason)
Constructor
|
getReason
public MissingSectionException()
Constructor
(构造函数)public MissingSectionException(java.lang.String msg)
Constructor
(构造函数)msg
- The exception's message string
(msg - 异常的消息字符串)
public MissingSectionException(java.lang.Throwable reason)
Constructor
(构造函数)reason
- This exception's underlying reason
(reason - 此异常的根本原因)
public MissingSectionException(java.lang.String msg, java.lang.Throwable reason)
Constructor
(构造函数)msg
- The exception's message string
(msg - 异常的消息字符串)
reason
- This exception's underlying reason
(reason - 此异常的根本原因)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.