Skip to content

Commit

Permalink
added underlying exception message to exception message.
Browse files Browse the repository at this point in the history
  • Loading branch information
dghgit committed Oct 13, 2016
1 parent fac86c6 commit d837f46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected PublicKey engineGeneratePublic(
}
catch (Exception e)
{
throw new InvalidKeySpecException("encoded key spec not recognised");
throw new InvalidKeySpecException("encoded key spec not recognised: " + e.getMessage());
}
}
else
Expand Down

0 comments on commit d837f46

Please # to comment.