org.apache.poi.hpsf
Class NoFormatIDException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.poi.hpsf.HPSFRuntimeException
                  extended by org.apache.poi.hpsf.NoFormatIDException
All Implemented Interfaces:
java.io.Serializable

public class NoFormatIDException
extends HPSFRuntimeException

This exception is thrown if a PropertySet is to be written but does not have a formatID set (see Section.setFormatID(ClassID) or Section.setFormatID(byte[]).

See Also:
Serialized Form

Constructor Summary
NoFormatIDException()
          Constructor
NoFormatIDException(java.lang.String msg)
          Constructor
NoFormatIDException(java.lang.String msg, java.lang.Throwable reason)
          Constructor
NoFormatIDException(java.lang.Throwable reason)
          Constructor
 
Method Summary
 
Methods inherited from class org.apache.poi.hpsf.HPSFRuntimeException
getReason
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoFormatIDException

public NoFormatIDException()
Constructor


NoFormatIDException

public NoFormatIDException(java.lang.String msg)
Constructor

Parameters:
msg - The exception's message string

NoFormatIDException

public NoFormatIDException(java.lang.Throwable reason)
Constructor

Parameters:
reason - This exception's underlying reason

NoFormatIDException

public NoFormatIDException(java.lang.String msg,
                           java.lang.Throwable reason)
Constructor

Parameters:
msg - The exception's message string
reason - This exception's underlying reason