How to handle these exceptions? Libgdx

No description
No description
3 Replies
JavaBot
JavaBot7d ago
This post has been reserved for your question.
Hey @aliinuur! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
ayylmao123xdd
ayylmao123xdd7d ago
you can add exception to method so something like this
public boolean touchUp(arguments) throws ClassNotFoundException
public boolean touchUp(arguments) throws ClassNotFoundException
or try catch
try {
Class.forName("ble");
} catch (ClassNotFoundException e) {
throw new RuntimeException(e);
}
try {
Class.forName("ble");
} catch (ClassNotFoundException e) {
throw new RuntimeException(e);
}
same thing for the two other ones instanation and illegal access exceptions
JavaBot
JavaBot7d ago
Post Closed
This post has been closed by <@755446676227096646>.
Want results from more Discord servers?
Add your server