Removed custom exception candy

This commit is contained in:
2024-05-12 13:36:47 -04:00
parent 7335946c10
commit 634f1478ce
142 changed files with 181 additions and 327 deletions
@@ -9,7 +9,6 @@
package engine.net.client.msg;
import engine.exception.SerializationException;
import engine.mbEnums.GameObjectType;
import engine.net.AbstractConnection;
import engine.net.ByteBufferReader;
@@ -97,7 +96,7 @@ public class AllianceChangeMsg extends ClientNetMsg {
* Serializes the subclass specific items to the supplied NetMsgWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) throws SerializationException {
protected void _serialize(ByteBufferWriter writer) {
writer.put(this.msgType);
if (this.msgType == ERROR_TO0_EARLY)
writer.putInt(this.secondsToWait);