Line data Source code
1 : /*
2 : * Package : xml2json
3 : * Author : S. Hamblett <steve.hamblett@linux.com>
4 : * Date : 12/09/2013
5 : * Copyright : S.Hamblett@OSCF
6 : *
7 : * This exception is thrown when Xml2Json has an internal error, such as an invalid
8 : * parameter being passed to a function.
9 : */
10 :
11 : part of xml2json;
12 :
13 : class Xml2JsonException implements Exception {
14 : String _message = 'No Message Supplied';
15 :
16 : /// Xml2Json exception
17 1 : Xml2JsonException([this._message]);
18 :
19 2 : String toString() => "Xml2JsonException: message = ${_message}";
20 : }
|