public class DataConnectionException extends WindwardException
Constructor and Description |
---|
DataConnectionException(java.lang.String message)
Constructs a new exception with the specified detail message.
|
DataConnectionException(java.lang.String message,
java.lang.String connectorClass,
java.lang.String connectionString,
java.lang.String serverName,
java.lang.String databaseName,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
DataConnectionException(java.lang.String message,
java.lang.String connectorClass,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
DataConnectionException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConnectionString()
The connection string to the datasource.
|
java.lang.String |
getConnectorClass()
The datasource connector class.
|
java.lang.String |
getDatabaseName()
The name of the datasource database.
|
java.lang.String |
getServerName()
The name of the datasource server.
|
getDocPos, getFullTag, setDocPos, setFullTag
public DataConnectionException(java.lang.String message)
message
- the detail message (which is saved for later retrieval by the Throwable.getMessage() method).public DataConnectionException(java.lang.String message, java.lang.Throwable cause)
message
- the detail message (which is saved for later retrieval by the Throwable.getMessage() method).cause
- 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.)public DataConnectionException(java.lang.String message, java.lang.String connectorClass, java.lang.Throwable cause)
message
- the detail message (which is saved for later retrieval by the Throwable.getMessage() method).connectorClass
- The datasource connector class.cause
- 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.)public DataConnectionException(java.lang.String message, java.lang.String connectorClass, java.lang.String connectionString, java.lang.String serverName, java.lang.String databaseName, java.lang.Throwable cause)
message
- the detail message (which is saved for later retrieval by the Throwable.getMessage() method).connectorClass
- The datasource connector class.connectionString
- The connection string to the datasource. This may be an estimate that is incorrect. null if unknown.serverName
- The name of the datasource server. For XML the url to the XML file. null if unknown.databaseName
- The name of the datasource database. For XML the url to the schema file. null if unknown or none.cause
- 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.)public java.lang.String getConnectorClass()
public java.lang.String getConnectionString()
public java.lang.String getServerName()
public java.lang.String getDatabaseName()
Copyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software