Skip to content

Commit 78cb999

Browse files
committed
Fix exception type
1 parent d02fceb commit 78cb999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/bouncycastle/crypto/digests/AsconXofBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private void ensureNoAbsorbWhileSqueezing(boolean m_squeezing)
100100
{
101101
if (m_squeezing)
102102
{
103-
throw new IllegalArgumentException("attempt to absorb while squeezing");
103+
throw new IllegalStateException("attempt to absorb while squeezing");
104104
}
105105
}
106106
}

0 commit comments

Comments
 (0)