Skip to content

Commit

Permalink
Use ICAT error message instead of custom. Refs #8898.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawrainey committed Feb 12, 2014
1 parent 7b6891b commit b895804
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ namespace Mantid
}
else
{
throw std::runtime_error("Username or password supplied is invalid.");
throwErrorMessage(icat);
}
}

Expand All @@ -111,7 +111,7 @@ namespace Mantid
}
else
{
throw std::runtime_error("You are not currently logged into the cataloging system.");
throwErrorMessage(icat);
}
}

Expand Down

0 comments on commit b895804

Please sign in to comment.