Line data Source code
1 : /*
2 : * Package : mqtt_client
3 : * Author : S. Hamblett <steve.hamblett@linux.com>
4 : * Date : 31/05/2017
5 : * Copyright : S.Hamblett
6 : */
7 :
8 : part of mqtt_client;
9 :
10 : /// Exception thrown when the client fails to connect
11 : class NoConnectionException implements Exception {
12 : String _message;
13 :
14 2 : NoConnectionException(String message) {
15 2 : _message =
16 2 : "mqtt-client::NoConnectionException: $message";
17 : }
18 :
19 : @override
20 2 : String toString() => _message;
21 : }
|