Invalid Code errordomain FooError { BAR } public void foo () throws FooError { } void main () { }