private void rethrowAsModuleValidationException(Throwable cause, ShallowConnectAddonBean addon, ConnectModuleMeta<?> moduleMeta, String message, String i18nKey, Serializable... i18nParameters) throws ConnectModuleValidationException { ConnectModuleValidationException exception = new ConnectModuleValidationException( addon, moduleMeta, message, i18nKey, i18nParameters); exception.initCause(cause); throw exception; } }
private void rethrowAsModuleValidationException(Throwable cause, ShallowConnectAddonBean addon, ConnectModuleMeta<?> moduleMeta, String message, String i18nKey, Serializable... i18nParameters) throws ConnectModuleValidationException { ConnectModuleValidationException exception = new ConnectModuleValidationException( addon, moduleMeta, message, i18nKey, i18nParameters); exception.initCause(cause); throw exception; } }