Package com.deltaxml.msword
Class MSWordCompareException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.deltaxml.core.exceptions.DeltaXMLException
com.deltaxml.msword.MSWordCompareException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionMSWordCompareException(String message) Constructs a newMSWordCompareExceptionwith the specified detail message.MSWordCompareException(String message, Throwable cause) Constructs a newMSWordCompareExceptionwith the specified detail message and cause.MSWordCompareException(Throwable cause) Constructs a newMSWordCompareExceptionwith the specified cause and a detail message of(cause == null ? null : cause.toString()). -
Method Summary
Methods inherited from class com.deltaxml.core.exceptions.DeltaXMLException
getCause, getThrowableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MSWordCompareException
Constructs a newMSWordCompareExceptionwith the specified detail message. The cause is not initialized and may subsequently be initialized by a call toThrowable.initCause(Throwable).- Parameters:
message- the detail message, which is saved for later retrieval by theThrowable.getMessage()method
-
MSWordCompareException
Constructs a newMSWordCompareExceptionwith 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 theDeltaXMLException.getCause()method; anullvalue indicates that the cause is nonexistent or unknown
-
MSWordCompareException
Constructs a newMSWordCompareExceptionwith the specified detail message and cause.The detail message associated with
causeis not automatically incorporated into this exception's detail message.- Parameters:
message- the detail message, which is saved for later retrieval by theThrowable.getMessage()methodcause- the cause, which is saved for later retrieval by theDeltaXMLException.getCause()method; anullvalue indicates that the cause is nonexistent or unknown
-