Skip to content

Commit 2e73664

Browse files
committed
Make IllegalArgumentException not a link (that would not be resolved) as suggested.
1 parent c0daed5 commit 2e73664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/polymorphism.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ A sealed parent interface or class can be used to directly register all its chil
420420
This will allow serializing the children using open polymorphism without the need to register each one individually.
421421

422422
If one of the type's subclasses is a sealed serializable class on its own, its subclasses are registered recursively
423-
as well. However, if one of the type's subclasses is an open polymorphic class, an [IllegalArgumentException] is thrown.
423+
as well. However, if one of the type's subclasses is an open polymorphic class, an `IllegalArgumentException` is thrown.
424424
In other words, all children/descendants must be either concrete or sealed.
425425

426426
<!--- TEST -->

0 commit comments

Comments
 (0)