remove use of throw() specifier
This commit is contained in:
@ -1370,7 +1370,7 @@ class RPCService
|
||||
virtual ~RPCService() {};
|
||||
virtual PVStructurePtr request(
|
||||
PVStructurePtr const & args
|
||||
) throw (RPCRequestException) = 0;
|
||||
) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
|
||||
virtual epics::pvData::PVStructure::shared_pointer request(
|
||||
epics::pvData::PVStructure::shared_pointer const & args
|
||||
) throw (RPCRequestException) = 0;
|
||||
) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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")
|
||||
|
Reference in New Issue
Block a user