The following code
class MemberException extends ServerException {
String message;
MemberException(message) {
super(message);
}
}
class ServerException implements Exception {
String message;
ServerException(this.message);
}
produces the following (somewhat unhelpful) error message
Too few arguments in implicit super() constructor invocation in '(String) -> dynamic'
The correct format is:
You need to initialize super before the constructor body is called.
Ref: http://www.dartlang.org/docs/dart-up-and-running/contents/ch02.html#ch02-constructors (see the part on initializers)