*/
public Directconnection(final Directconnection toCopy) {
try {
this.metaData = new DirectconnectionMetaData((DirectconnectionMetaData) toCopy.metaData);
this.source = new DirectconnectionSource();
this.target = new DirectconnectionTarget();
} catch (final Exception e) {
logger.error("Exception occured while creating direct connection object.", e); //$NON-NLS-1$
throw new RuntimeException("Could not create direct connection object.", e); //$NON-NLS-1$
}
}