List of usage examples for org.apache.http.impl.auth UnsupportedDigestAlgorithmException UnsupportedDigestAlgorithmException
public UnsupportedDigestAlgorithmException(final String message)
From source file:org.odk.collect.android.utilities.EnhancedDigestScheme.java
private static MessageDigest createMessageDigest(final String digAlg) throws UnsupportedDigestAlgorithmException { try {//from ww w .ja v a2 s .c o m return MessageDigest.getInstance(digAlg); } catch (Exception e) { throw new UnsupportedDigestAlgorithmException( "Unsupported algorithm in HTTP Digest authentication: " + digAlg); } }