@@ -377,7 +377,7 @@ public TokenCodecEncoder putName(final DirectBuffer src, final int srcOffset, fi
377377 {
378378 if  (length  > 65534 )
379379 {
380-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
380+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
381381 }
382382
383383 final  int  headerLength  = 2 ;
@@ -393,7 +393,7 @@ public TokenCodecEncoder putName(final byte[] src, final int srcOffset, final in
393393 {
394394 if  (length  > 65534 )
395395 {
396-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
396+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
397397 }
398398
399399 final  int  headerLength  = 2 ;
@@ -420,7 +420,7 @@ public TokenCodecEncoder name(final String value)
420420 final  int  length  = bytes .length ;
421421 if  (length  > 65534 )
422422 {
423-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
423+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
424424 }
425425
426426 final  int  headerLength  = 2 ;
@@ -463,7 +463,7 @@ public TokenCodecEncoder putConstValue(final DirectBuffer src, final int srcOffs
463463 {
464464 if  (length  > 65534 )
465465 {
466-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
466+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
467467 }
468468
469469 final  int  headerLength  = 2 ;
@@ -479,7 +479,7 @@ public TokenCodecEncoder putConstValue(final byte[] src, final int srcOffset, fi
479479 {
480480 if  (length  > 65534 )
481481 {
482-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
482+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
483483 }
484484
485485 final  int  headerLength  = 2 ;
@@ -506,7 +506,7 @@ public TokenCodecEncoder constValue(final String value)
506506 final  int  length  = bytes .length ;
507507 if  (length  > 65534 )
508508 {
509-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
509+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
510510 }
511511
512512 final  int  headerLength  = 2 ;
@@ -549,7 +549,7 @@ public TokenCodecEncoder putMinValue(final DirectBuffer src, final int srcOffset
549549 {
550550 if  (length  > 65534 )
551551 {
552-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
552+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
553553 }
554554
555555 final  int  headerLength  = 2 ;
@@ -565,7 +565,7 @@ public TokenCodecEncoder putMinValue(final byte[] src, final int srcOffset, fina
565565 {
566566 if  (length  > 65534 )
567567 {
568-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
568+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
569569 }
570570
571571 final  int  headerLength  = 2 ;
@@ -592,7 +592,7 @@ public TokenCodecEncoder minValue(final String value)
592592 final  int  length  = bytes .length ;
593593 if  (length  > 65534 )
594594 {
595-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
595+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
596596 }
597597
598598 final  int  headerLength  = 2 ;
@@ -635,7 +635,7 @@ public TokenCodecEncoder putMaxValue(final DirectBuffer src, final int srcOffset
635635 {
636636 if  (length  > 65534 )
637637 {
638-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
638+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
639639 }
640640
641641 final  int  headerLength  = 2 ;
@@ -651,7 +651,7 @@ public TokenCodecEncoder putMaxValue(final byte[] src, final int srcOffset, fina
651651 {
652652 if  (length  > 65534 )
653653 {
654-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
654+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
655655 }
656656
657657 final  int  headerLength  = 2 ;
@@ -678,7 +678,7 @@ public TokenCodecEncoder maxValue(final String value)
678678 final  int  length  = bytes .length ;
679679 if  (length  > 65534 )
680680 {
681-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
681+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
682682 }
683683
684684 final  int  headerLength  = 2 ;
@@ -721,7 +721,7 @@ public TokenCodecEncoder putNullValue(final DirectBuffer src, final int srcOffse
721721 {
722722 if  (length  > 65534 )
723723 {
724-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
724+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
725725 }
726726
727727 final  int  headerLength  = 2 ;
@@ -737,7 +737,7 @@ public TokenCodecEncoder putNullValue(final byte[] src, final int srcOffset, fin
737737 {
738738 if  (length  > 65534 )
739739 {
740-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
740+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
741741 }
742742
743743 final  int  headerLength  = 2 ;
@@ -764,7 +764,7 @@ public TokenCodecEncoder nullValue(final String value)
764764 final  int  length  = bytes .length ;
765765 if  (length  > 65534 )
766766 {
767-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
767+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
768768 }
769769
770770 final  int  headerLength  = 2 ;
@@ -807,7 +807,7 @@ public TokenCodecEncoder putCharacterEncoding(final DirectBuffer src, final int
807807 {
808808 if  (length  > 65534 )
809809 {
810-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
810+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
811811 }
812812
813813 final  int  headerLength  = 2 ;
@@ -823,7 +823,7 @@ public TokenCodecEncoder putCharacterEncoding(final byte[] src, final int srcOff
823823 {
824824 if  (length  > 65534 )
825825 {
826-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
826+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
827827 }
828828
829829 final  int  headerLength  = 2 ;
@@ -850,7 +850,7 @@ public TokenCodecEncoder characterEncoding(final String value)
850850 final  int  length  = bytes .length ;
851851 if  (length  > 65534 )
852852 {
853-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
853+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
854854 }
855855
856856 final  int  headerLength  = 2 ;
@@ -893,7 +893,7 @@ public TokenCodecEncoder putEpoch(final DirectBuffer src, final int srcOffset, f
893893 {
894894 if  (length  > 65534 )
895895 {
896-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
896+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
897897 }
898898
899899 final  int  headerLength  = 2 ;
@@ -909,7 +909,7 @@ public TokenCodecEncoder putEpoch(final byte[] src, final int srcOffset, final i
909909 {
910910 if  (length  > 65534 )
911911 {
912-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
912+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
913913 }
914914
915915 final  int  headerLength  = 2 ;
@@ -936,7 +936,7 @@ public TokenCodecEncoder epoch(final String value)
936936 final  int  length  = bytes .length ;
937937 if  (length  > 65534 )
938938 {
939-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
939+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
940940 }
941941
942942 final  int  headerLength  = 2 ;
@@ -979,7 +979,7 @@ public TokenCodecEncoder putTimeUnit(final DirectBuffer src, final int srcOffset
979979 {
980980 if  (length  > 65534 )
981981 {
982-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
982+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
983983 }
984984
985985 final  int  headerLength  = 2 ;
@@ -995,7 +995,7 @@ public TokenCodecEncoder putTimeUnit(final byte[] src, final int srcOffset, fina
995995 {
996996 if  (length  > 65534 )
997997 {
998-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
998+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
999999 }
10001000
10011001 final  int  headerLength  = 2 ;
@@ -1022,7 +1022,7 @@ public TokenCodecEncoder timeUnit(final String value)
10221022 final  int  length  = bytes .length ;
10231023 if  (length  > 65534 )
10241024 {
1025-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
1025+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
10261026 }
10271027
10281028 final  int  headerLength  = 2 ;
@@ -1065,7 +1065,7 @@ public TokenCodecEncoder putSemanticType(final DirectBuffer src, final int srcOf
10651065 {
10661066 if  (length  > 65534 )
10671067 {
1068-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
1068+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
10691069 }
10701070
10711071 final  int  headerLength  = 2 ;
@@ -1081,7 +1081,7 @@ public TokenCodecEncoder putSemanticType(final byte[] src, final int srcOffset,
10811081 {
10821082 if  (length  > 65534 )
10831083 {
1084-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
1084+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
10851085 }
10861086
10871087 final  int  headerLength  = 2 ;
@@ -1108,7 +1108,7 @@ public TokenCodecEncoder semanticType(final String value)
11081108 final  int  length  = bytes .length ;
11091109 if  (length  > 65534 )
11101110 {
1111-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
1111+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
11121112 }
11131113
11141114 final  int  headerLength  = 2 ;
@@ -1151,7 +1151,7 @@ public TokenCodecEncoder putDescription(final DirectBuffer src, final int srcOff
11511151 {
11521152 if  (length  > 65534 )
11531153 {
1154-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
1154+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
11551155 }
11561156
11571157 final  int  headerLength  = 2 ;
@@ -1167,7 +1167,7 @@ public TokenCodecEncoder putDescription(final byte[] src, final int srcOffset, f
11671167 {
11681168 if  (length  > 65534 )
11691169 {
1170-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
1170+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
11711171 }
11721172
11731173 final  int  headerLength  = 2 ;
@@ -1194,7 +1194,7 @@ public TokenCodecEncoder description(final String value)
11941194 final  int  length  = bytes .length ;
11951195 if  (length  > 65534 )
11961196 {
1197-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
1197+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
11981198 }
11991199
12001200 final  int  headerLength  = 2 ;
@@ -1237,7 +1237,7 @@ public TokenCodecEncoder putReferencedName(final DirectBuffer src, final int src
12371237 {
12381238 if  (length  > 65534 )
12391239 {
1240-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
1240+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
12411241 }
12421242
12431243 final  int  headerLength  = 2 ;
@@ -1253,7 +1253,7 @@ public TokenCodecEncoder putReferencedName(final byte[] src, final int srcOffset
12531253 {
12541254 if  (length  > 65534 )
12551255 {
1256-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
1256+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
12571257 }
12581258
12591259 final  int  headerLength  = 2 ;
@@ -1280,7 +1280,7 @@ public TokenCodecEncoder referencedName(final String value)
12801280 final  int  length  = bytes .length ;
12811281 if  (length  > 65534 )
12821282 {
1283-  throw  new  IllegalArgumentException ("length > max value  for type: "  + length );
1283+  throw  new  IllegalStateException ("length > maxValue  for type: "  + length );
12841284 }
12851285
12861286 final  int  headerLength  = 2 ;
0 commit comments