IllegalArgumentException class
Temporary backwards compatibility class.
Removed when users have had time to change to using ArgumentError.
class IllegalArgumentException extends ArgumentError { const IllegalArgumentException([argument = ""]) : super(argument); }
Extends
ArgumentError > IllegalArgumentException
Constructors
const IllegalArgumentException([argument = ""]) #
const IllegalArgumentException([argument = ""]) : super(argument);
Properties
Methods
String toString() #
inherited from ArgumentError
Returns a string representation of this object.
docs inherited from Object
String toString() { if (message != null) { return "Illegal argument(s): $message"; } return "Illegal argument(s)"; }