This is just wrong.
exceptionA.methodA(name);
I think you want this.
new testing().methodA(name);
And you should really follow Java capitalization conventions. That is Testing and Exception.
1
solved Exceptions! Console Calculator (Java) [closed]