throw new DocumentException(Messages
.getString("DocumentService_exception_url_invalid")); //$NON-NLS-1$
} catch (Throwable throwable) {
DocumentException documentException = new DocumentException(
throwable.getMessage());
documentException.initCause(throwable);
throw documentException;
}
}
// ----------------------------------------------------------------------------