Code example for IllegalBlockSizeException

Methods: printStackTrace

0
				byte[] encdata = ci_out.doFinal(data);
				String sendbuf = new String(Base64.encodeBase64(encdata));
				net_write.write(sendbuf+"\n");
			} catch (IllegalBlockSizeException e) {
				// TODO Auto-generated catch block 
				e.printStackTrace();
			} catch (BadPaddingException e) {
				// TODO Auto-generated catch block 
				e.printStackTrace();
			} 
		} 
		else 
			net_write.write(input+"\n");
		 
		net_write.flush();
	} 
	 
	private String readEnc() {
		try { 
			int rdy_wait = 0;
			while(!net_read.ready())