public class UnexpectedPropertySetTypeException extends HPSFException
This exception is thrown if a certain type of property set is expected (e.g. a Document Summary Information) but the provided property set is not of that type.
The constructors of this class are analogous to those of its superclass and documented there.
(如果需要某种类型的属性集(例如文档摘要信息)但提供的属性集不是该类型,则会引发此异常。此类的构造函数类似于其超类的构造函数,并记录在那里。)Constructor and Description |
---|
UnexpectedPropertySetTypeException()
Creates an
UnexpectedPropertySetTypeException .
|
UnexpectedPropertySetTypeException(java.lang.String msg)
Creates an
UnexpectedPropertySetTypeException with a message string.
|
UnexpectedPropertySetTypeException(java.lang.String msg, java.lang.Throwable reason)
Creates an
UnexpectedPropertySetTypeException with a message string and a reason.
|
UnexpectedPropertySetTypeException(java.lang.Throwable reason)
Creates a new
UnexpectedPropertySetTypeException with a reason.
|
getReason
public UnexpectedPropertySetTypeException()
Creates an UnexpectedPropertySetTypeException
.
public UnexpectedPropertySetTypeException(java.lang.String msg)
Creates an UnexpectedPropertySetTypeException
with a message string.
msg
- The message string.
(msg - 消息字符串。)
public UnexpectedPropertySetTypeException(java.lang.Throwable reason)
Creates a new UnexpectedPropertySetTypeException
with a reason.
reason
- The reason, i.e. a throwable that indirectly caused this exception.
(reason - 原因,即间接导致此异常的 throwable。)
public UnexpectedPropertySetTypeException(java.lang.String msg, java.lang.Throwable reason)
Creates an UnexpectedPropertySetTypeException
with a message string and a reason.
msg
- The message string.
(msg - 消息字符串。)
reason
- The reason, i.e. a throwable that indirectly caused this exception.
(reason - 原因,即间接导致此异常的 throwable。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.