< prev index next >

src/java.base/share/classes/java/lang/StringIndexOutOfBoundsException.java

Print this page

        

@@ -33,10 +33,11 @@
  *
  * @see java.lang.String#charAt(int)
  * @since 1.0
  */
 public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException {
+    @java.io.Serial
     private static final long serialVersionUID = -6762910422159637258L;
 
     /**
      * Constructs a {@code StringIndexOutOfBoundsException} with no detail
      * message.
< prev index next >