For the latest Dart news, visit our new blog at https://medium.com/dartlang .
Lasse Nielsen writes:
We've changed some exception classes to errors with fancier names, but have so far retained a (somewhat) backwards compatible version of the exceptions.
Now it's time for them to go.
This affects:
As always, we invite you to join our Dart mailing list, ask questions on Stack Overflow, or file feature requests on dartbug.com.
- IllegalArgumentException
- IndexOutOfRangeException
- UnsupportedOperationException
- NotImplementedException
The UnsupportedError and UnimplementedError classes also no longer have const constructors (those were only retained for backwards compatibility too).Cheers!