Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Pityu Szíviso
Added: Nov 28, 2018 8:16 PM
Views: 0
Tags: no tags
  1. public void fillAmmoCarrier() {
  2.         try {
  3.             if (this.ammoStorage == 0) {
  4.                 throw new ExceptionAmmo();
  5.             }
  6.         } catch (Exception exception) {
  7.             System.out.println(exception);
  8.         }