#i dont understand try catch
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
which error ? and post your code here please
?
related code
Please use this format for posting code:
```java
// Example java program
int value = 5;
System.out.println(value);
```
Which results in:
// Example java program
int value = 5;
System.out.println(value);
For syntax highlighting, you have to add the name of the language after the three backticks, like ```java. Please make sure to use exactly this format, so no space between the backticks and the language name, and a newline before the code starts. If done right, the syntax highlighting will even be applied to your text as you type, before sending.
or
You can share longer code snippets by posting on:
PasteOfCode: https://paste.ofcode.org
Gist: https://gist.github.com/
Pastebin: https://pastebin.com/
Hastebin: https://hastebin.com/
Please remember to select the appropriate syntax highlighting. It makes your code easier to read!
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
i shared the code
in line 371 try without catch
and down below442 same but with catch
https://hastebin.com/share/ovufecobem.java this is the regular class if needed
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
format?
yes
idk what that is can you explain
the indent in your code is messed up
each {} pair should have its own level of indent
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
i think i did it can you check
oh yea mine is messed up
so please fix that
i formatted it
is this not it?
this isn't your paste
my paste?
its not the same code as the first paste
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
i think now it works
line 441 and 442 you have two } on same indent level
please format correctly
ok