Skip to content

Commit 72ee97f

Browse files
committed
updated to use newer Exceptions method.
1 parent 91fcaf5 commit 72ee97f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/bouncycastle/crypto/util/DerUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static byte[] toByteArray(ASN1Primitive primitive)
2828
}
2929
catch (final IOException e)
3030
{
31-
throw Exceptions.illegalStateException("Cannot get encoding: " + e.getMessage(), e)
31+
throw Exceptions.illegalStateException("Cannot get encoding: " + e.getMessage(), e);
3232
}
3333
}
3434
}

0 commit comments

Comments
 (0)