com.deltaxml.odf.merge
Class NonExtendibleMergeResultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.deltaxml.odf.OdfException
              extended by com.deltaxml.odf.OdtInputException
                  extended by com.deltaxml.odf.merge.NonExtendibleMergeResultException
All Implemented Interfaces:
Serializable

public class NonExtendibleMergeResultException
extends OdtInputException

Indicates that a merge result being used as an input is not extendible.

If a merge result file is used as the base file for a merge operation, it needs to be checked to ensure that it has the relevant information in it. If not, this exception is thrown.

This may be because the result was produced as a non-extendible result or that it has been edited since it was produced.

See Also:
Serialized Form

Constructor Summary
NonExtendibleMergeResultException(File input)
          Constructs a new NonExtendibleMergeResultException with a default message
NonExtendibleMergeResultException(String message, File input)
          Constructs a new NonExtendibleMergeResultException with a configurable message
 
Method Summary
 
Methods inherited from class com.deltaxml.odf.OdtInputException
getFile
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonExtendibleMergeResultException

public NonExtendibleMergeResultException(File input)
Constructs a new NonExtendibleMergeResultException with a default message

Parameters:
input - the merge result file that cannot be extended

NonExtendibleMergeResultException

public NonExtendibleMergeResultException(String message,
                                         File input)
Constructs a new NonExtendibleMergeResultException with a configurable message

Parameters:
message - the exception message
input - the merge result file that cannot be extended


© 2001-2009 DeltaXML Ltd. All Rights Reserved.