While we're here, I figure I'll ask another question that's been on my mind about exception handling.
My professor mentioned that we should use exception handling in two scenarios (given the...
Type: Posts; User: ineedahero
While we're here, I figure I'll ask another question that's been on my mind about exception handling.
My professor mentioned that we should use exception handling in two scenarios (given the...
Eh, bit of a typo there. The word "every" shouldn't be in the second sentence.
How come the edit button doesn't work? I click it and that loading circular icon thing comes up, and nothing ever...
Ah, so it looks a little more like this:
Player player = new Player();
java.io.FileWriter output = null;
// receive player info
...
So every single time I output something to a file I have to check for exception handling? Isn't that a little redundant?
And can I presume that the same holds for reading from a file?
Ok guys, thanks for the help.
I fixed the errors, but now I'm getting more exception handling problems!
public Player createNewPlayer(java.io.File file)// throws Exception
{
...
Ok, so I'm trying to work with files, and with files come exception handling, and with exception handling comes compilation errors!
I have part of a function here that is used to retrieve...