throws Encrypted.DecryptionException { if (text.length == 0) { throw new Encrypted.DecryptionException("empty input"); throw new Encrypted.DecryptionException( String.format( "not enough bytes for salt, length is %d while %d required", throw new Encrypted.DecryptionException( String.format( "checksum %d failure, while %d expected",
throws Encrypted.DecryptionException { if (txt == null) { throw new Encrypted.DecryptionException("text can't be NULL"); ); } catch (final URISyntaxException ex) { throw new Encrypted.DecryptionException(ex); } catch (final IOException ex) { throw new Encrypted.DecryptionException(ex); } finally { IOUtils.closeQuietly(stream);