Code example for JsonSyntaxException

Methods: printStackTrace

0
		} 
		 
		try { 
			tEbanking = gson.fromJson(ebnkPage, EbankingJson.class);
		} catch (JsonSyntaxException e) {
			e.printStackTrace();
			return new StatsAndLoadingInfo(404); 
		} 
		if(!"Success".equals(tEbanking.Status)) {
			System.out.println("camipro upstream server has failed");
			return new StatsAndLoadingInfo(404); 
		} 
         
		CardStatistics tCardStatistics = new CardStatistics(tEbanking.TotalAmount1M, tEbanking.TotalAmount3M);
		CardLoadingWithEbankingInfo tCardLoadingWithEbankingInfo = new CardLoadingWithEbankingInfo(tEbanking.PaidNameTo, tEbanking.AccountNr, tEbanking.BvrReadableReference);
		 
		StatsAndLoadingInfo sl = new StatsAndLoadingInfo(200);
		sl.setICardStatistics(tCardStatistics);
		sl.setICardLoadingWithEbankingInfo(tCardLoadingWithEbankingInfo);
		return sl;
Connect your IDE to all the code out there  Get Codota for Java