This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I didn't see the lines of code that give you the errors in the portion of the code you've posted. But the error is regarding static in inner class. Unless for declaring a static constant / final variable you can't have static declaration in inner class, for example define a static method in inner class is not allowed.
If you look at the code the static errors are there
So how do i go about fixing it. I tryed to make it as its own class file, and instantiate the class in a nother class.
But i keep getting throw or catch errors. When the class already has the throw and catch exception.