Package org.apache.poi.hpsf
Class NoSingleSectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.poi.hpsf.HPSFRuntimeException
-
- org.apache.poi.hpsf.NoSingleSectionException
-
- All Implemented Interfaces:
Serializable
public class NoSingleSectionException extends HPSFRuntimeException
This exception is thrown if one of the
PropertySet
's convenience methods that require a singleSection
is called and thePropertySet
does not contain exactly oneSection
.The constructors of this class are analogous to those of its superclass and documented there.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSingleSectionException()
ConstructorNoSingleSectionException(String msg)
ConstructorNoSingleSectionException(String msg, Throwable reason)
ConstructorNoSingleSectionException(Throwable reason)
Constructor
-
Method Summary
-
Methods inherited from class org.apache.poi.hpsf.HPSFRuntimeException
getReason
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoSingleSectionException
public NoSingleSectionException()
Constructor
-
NoSingleSectionException
public NoSingleSectionException(String msg)
Constructor
- Parameters:
msg
- The exception's message string
-
NoSingleSectionException
public NoSingleSectionException(Throwable reason)
Constructor
- Parameters:
reason
- This exception's underlying reason
-
-