$ scala Person 30 Fred 4000
We have a person: Person(30,Fred,4000)
$ scala Person "-7" red 490000
Postcode must be 4 digits
Name must begin with a capital letter
Age must be greater than 0
$ scala Person boo Fred 490000
Postcode must be 4 digits
java.lang.NumberFormatException: For input string: "boo"
$ scala Person 30 "" 411x
Postcode must be 4 digits
Name must begin with a capital letter