OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library path.path_exception; | |
6 | |
7 /// An exception class that's thrown when a path operation is unable to be | 5 /// An exception class that's thrown when a path operation is unable to be |
8 /// computed accurately. | 6 /// computed accurately. |
9 class PathException implements Exception { | 7 class PathException implements Exception { |
10 String message; | 8 String message; |
11 | 9 |
12 PathException(this.message); | 10 PathException(this.message); |
13 | 11 |
14 String toString() => "PathException: $message"; | 12 String toString() => "PathException: $message"; |
15 } | 13 } |
OLD | NEW |