Removed custom exception candy

This commit is contained in:
2024-05-12 13:42:11 -04:00
parent 634f1478ce
commit f8180a7000
153 changed files with 156 additions and 339 deletions
@@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.math.Vector3fImmutable;
import engine.mbEnums;
@@ -237,7 +236,7 @@ public class VendorDialogMsgHandler extends AbstractClientMsgHandler {
return false;
}
private static boolean finishMessage(VendorDialogMsg msg, ClientConnection origin) throws MsgSendException {
private static boolean finishMessage(VendorDialogMsg msg, ClientConnection origin) {
msg.updateMessage(4, 0);
Dispatch dispatch = Dispatch.borrow(origin.getPlayerCharacter(), msg);
DispatchManager.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY);
@@ -522,7 +521,7 @@ public class VendorDialogMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = SessionManager.getPlayerCharacter(origin);
VendorDialogMsg msg = (VendorDialogMsg) baseMsg;