Class MSWordCompareException

All Implemented Interfaces:
Serializable

public class MSWordCompareException extends DeltaXMLException
Specifies an exceptional condition in Microsoft Word Compare.

This class is the superclass of most checked exceptions thrown by Microsoft Word Compare. It can therefore be used for coarse-grained exception handling when individual exception types do not need to be caught separately.

See Also:
  • Constructor Details

    • MSWordCompareException

      public MSWordCompareException(String message)
      Constructs a new MSWordCompareException with the specified detail message. The cause is not initialized and may subsequently be initialized by a call to Throwable.initCause(Throwable).
      Parameters:
      message - the detail message, which is saved for later retrieval by the Throwable.getMessage() method
    • MSWordCompareException

      public MSWordCompareException(Throwable cause)
      Constructs a new MSWordCompareException with the specified cause and a detail message of (cause == null ? null : cause.toString()).

      This constructor is useful for exceptions that act primarily as wrappers for other throwables.

      Parameters:
      cause - the cause, which is saved for later retrieval by the DeltaXMLException.getCause() method; a null value indicates that the cause is nonexistent or unknown
    • MSWordCompareException

      public MSWordCompareException(String message, Throwable cause)
      Constructs a new MSWordCompareException with the specified detail message and cause.

      The detail message associated with cause is not automatically incorporated into this exception's detail message.

      Parameters:
      message - the detail message, which is saved for later retrieval by the Throwable.getMessage() method
      cause - the cause, which is saved for later retrieval by the DeltaXMLException.getCause() method; a null value indicates that the cause is nonexistent or unknown