Code example for IllegalBlockSizeException

Methods: getMessage

0
		} catch (InvalidKeyException e) {
			throw new CantCreateCertificateException(e.getMessage());   
		} catch (BadPaddingException e) {
			throw new CantCreateCertificateException(e.getMessage());
		} catch (IllegalBlockSizeException e) {
			throw new CantCreateCertificateException(e.getMessage());
		} catch (IOException e) {
			throw new CantCreateCertificateException(e.getMessage());
		} 
		return certificate; 
    } 
}