Package civquest.io

Examples of civquest.io.SaveGameException


      }

      try {
        Array.set(data, index, value);
      } catch (IllegalArgumentException e) {
        throw new SaveGameException(e + " data-type: " + data.getClass()
                      + " index: " + index + " value: "
                      + value.getClass());
      }

    }
View Full Code Here


     
      DataToSave subData = persistent.getPersistentData();
      if (subData != null) {
        writeMap(subData);
      } else {
        throw new SaveGameException("Error: Persistent " + persistent + " returns "
                      + "null instead of a data-map!");
      }
     
      changeIndentLevel(-1);
      write("</" + Defs.getPersistentCode() + Defs.getSeparator() + key + ">");
View Full Code Here

TOP

Related Classes of civquest.io.SaveGameException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.