remove use of throw() specifier

This commit is contained in:
Michael Davidsaver
2016-02-10 09:45:42 -05:00
parent f0b88e349b
commit 069555a524
6 changed files with 6 additions and 10 deletions

View File

@ -1370,7 +1370,7 @@ class RPCService
virtual ~RPCService() {};
virtual PVStructurePtr request(
PVStructurePtr const & args
) throw (RPCRequestException) = 0;
) = 0;
};

View File

@ -138,8 +138,7 @@ namespace epics {
virtual void close() = 0;
// notification to the client on allowed requests (bitSet, a bit per request)
virtual ChannelSecuritySession::shared_pointer createChannelSession(std::string const & channelName)
throw (SecurityException) = 0;
virtual ChannelSecuritySession::shared_pointer createChannelSession(std::string const & channelName) = 0;
};
class epicsShareClass SecurityPluginControl {
@ -197,7 +196,7 @@ namespace epics {
virtual SecuritySession::shared_pointer createSession(
osiSockAddr const & remoteAddress,
SecurityPluginControl::shared_pointer const & control,
epics::pvData::PVField::shared_pointer const & data) throw (SecurityException) = 0;
epics::pvData::PVField::shared_pointer const & data) = 0;
};
@ -240,7 +239,6 @@ namespace epics {
// notification to the client on allowed requests (bitSet, a bit per request)
virtual ChannelSecuritySession::shared_pointer createChannelSession(std::string const & /*channelName*/)
throw (SecurityException)
{
return shared_from_this();
}
@ -284,7 +282,7 @@ namespace epics {
virtual SecuritySession::shared_pointer createSession(
osiSockAddr const & /*remoteAddress*/,
SecurityPluginControl::shared_pointer const & control,
epics::pvData::PVField::shared_pointer const & /*data*/) throw (SecurityException) {
epics::pvData::PVField::shared_pointer const & /*data*/) {
control->authenticationCompleted(epics::pvData::Status::Ok);
return shared_from_this();
}

View File

@ -62,7 +62,7 @@ public:
virtual epics::pvData::PVStructure::shared_pointer request(
epics::pvData::PVStructure::shared_pointer const & args
) throw (RPCRequestException) = 0;
) = 0;
};

View File

@ -509,7 +509,7 @@ public:
virtual epics::pvData::PVStructure::shared_pointer request(
epics::pvData::PVStructure::shared_pointer const & arguments
) throw (RPCRequestException)
)
{
// NTURI support
PVStructure::shared_pointer args(

View File

@ -24,7 +24,6 @@ class SumServiceImpl :
public RPCService
{
PVStructure::shared_pointer request(PVStructure::shared_pointer const & pvArguments)
throw (RPCRequestException)
{
// NTURI support
PVStructure::shared_pointer args(

View File

@ -19,7 +19,6 @@ class WildServiceImpl :
public RPCService
{
PVStructure::shared_pointer request(PVStructure::shared_pointer const & pvArguments)
throw (RPCRequestException)
{
// requires NTURI as argument
if (pvArguments->getStructure()->getID() != "epics:nt/NTURI:1.0")