Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
9280b382
Commit
9280b382
authored
Mar 10, 2021
by
Steven Murray
Browse files
Improved the exception type thrown
parent
6c7326d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
catalogue/RdbmsCatalogue.cpp
View file @
9280b382
...
...
@@ -2987,9 +2987,7 @@ void RdbmsCatalogue::modifyArchiveRouteTapePoolName(const common::dataStructures
stmt
.
executeNonQuery
();
if
(
0
==
stmt
.
getNbAffectedRows
())
{
exception
::
UserError
ue
;
ue
.
getMessage
()
<<
"Archive route does not exist"
;
throw
ue
;
throw
UserSpecifiedANonExistentArchiveRoute
(
"Archive route does not exist"
);
}
}
catch
(
exception
::
UserError
&
ue
)
{
std
::
ostringstream
msg
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment