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; | 5 library path.path_exception; |
6 | 6 |
7 /// An exception class that's thrown when a path operation is unable to be | 7 /// An exception class that's thrown when a path operation is unable to be |
8 /// computed accurately. | 8 /// computed accurately. |
9 class PathException implements Exception { | 9 class PathException implements Exception { |
10 String message; | 10 String message; |
11 | 11 |
12 PathException(this.message); | 12 PathException(this.message); |
13 | 13 |
14 String toString() => "PathException: $message"; | 14 String toString() => "PathException: $message"; |
15 } | 15 } |
OLD | NEW |