public class OfficeConnectionException
extends org.jodconverter.office.OfficeException
构造器和说明 |
---|
OfficeConnectionException(java.lang.String message,
java.lang.String connectString)
Constructs a new connect exception with the specified detail message.
|
OfficeConnectionException(java.lang.String message,
java.lang.String connectString,
java.lang.Throwable cause)
Constructs a new connect exception with the specified detail message and cause.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getConnectString()
Gets the connection strong of the connection.
|
public OfficeConnectionException(java.lang.String message, java.lang.String connectString)
Throwable.initCause(java.lang.Throwable)
.message
- The detail message. The detail message is saved for later retrieval by the
Throwable.getMessage()
method.connectString
- The connection string of the connection.public OfficeConnectionException(java.lang.String message, java.lang.String connectString, java.lang.Throwable cause)
Note that the detail message associated with cause
is not automatically
incorporated in this exception's detail message.
message
- The detail message (which is saved for later retrieval by the Throwable.getMessage()
method).connectString
- The connection string of the connection.cause
- The cause (which is saved for later retrieval by the Throwable.getCause()
method).
(A null value is permitted, and indicates that the cause is nonexistent or
unknown.)