| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 test.runner.application_exception; | |
| 6 | |
| 7 /// An expected exception caused by user-controllable circumstances. | 5 /// An expected exception caused by user-controllable circumstances. |
| 8 class ApplicationException implements Exception { | 6 class ApplicationException implements Exception { |
| 9 final String message; | 7 final String message; |
| 10 | 8 |
| 11 ApplicationException(this.message); | 9 ApplicationException(this.message); |
| 12 | 10 |
| 13 String toString() => message; | 11 String toString() => message; |
| 14 } | 12 } |
| OLD | NEW |