mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-16 08:56:51 +01:00
Refactor Exception handle scheme
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -544,7 +544,7 @@ void Client::setAdapterType(AdapterType type)
|
||||
_clientType = Ctype_Aggregater;
|
||||
break;
|
||||
default:
|
||||
throw Exception("Client::setAdapterType(): Invalid Type.");
|
||||
throw EXCEPTION("Client::setAdapterType(): Invalid Type.", 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user