Code example for BadPaddingException

Methods: printStackTrace

0
		} catch (IllegalBlockSizeException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} catch (BadPaddingException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} catch (InvalidKeyException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} catch (NoSuchAlgorithmException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} catch (NoSuchPaddingException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} 
		return result;
	} 
 
	private byte[] decryptAes(byte[] src){
		byte[] result = null;