public class NoFormatIDException extends HPSFRuntimeException
PropertySet
is to be written but does not have a formatID set (see
Section.setFormatID(ClassID)
or
Section.setFormatID(byte[])
.
(如果要写入 PropertySet 但没有设置 formatID(请参阅 Section.setFormatID(ClassID) 或 Section.setFormatID(byte[])),则会引发此异常。)
Constructor and Description |
---|
NoFormatIDException()
Constructor
|
NoFormatIDException(java.lang.String msg)
Constructor
|
NoFormatIDException(java.lang.String msg, java.lang.Throwable reason)
Constructor
|
NoFormatIDException(java.lang.Throwable reason)
Constructor
|
getReason
public NoFormatIDException()
public NoFormatIDException(java.lang.String msg)
msg
- The exception's message string
(msg - 异常的消息字符串)
public NoFormatIDException(java.lang.Throwable reason)
reason
- This exception's underlying reason
(reason - 此异常的根本原因)
public NoFormatIDException(java.lang.String msg, java.lang.Throwable reason)
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.