*/
public Base64CsvDatabaseBackend (final DatabaseFrontend frontend) {
// Trace message
- this.getLogger().trace(MessageFormat.format("frontend={1} - CALLED!", frontend)); //NOI18N
+ this.getLogger().trace(MessageFormat.format("frontend={0} - CALLED!", frontend)); //NOI18N
// Get table name
String tableName = frontend.getTableName();
*/
package org.mxchange.jcore.exceptions;
+import java.text.MessageFormat;
+
/**
* An exception thrown when the given backend type is not valid
*
*/
public UnsupportedDatabaseBackendException (final Throwable cause) {
// Call super constructor
- super("Backend is not supported.", cause); //NOI18N
+ super(MessageFormat.format("Backend is not supported: {0}", cause), cause); //NOI18N
}
}
factory.getLogger().debug(MessageFormat.format("reflection={0}", reflection)); //NOI18N
// Get constructor
- Constructor<?> constructor = reflection.getConstructor(frontend.getClass());
+ Constructor<?> constructor = reflection.getConstructor(DatabaseFrontend.class);
// Debug message
factory.getLogger().debug(MessageFormat.format("constructor={0}", constructor)); //NOI18N