Skip to content

Commit 0030460

Browse files
committed
[Java] Regenerate IR codecs.
1 parent aba5141 commit 0030460

File tree

2 files changed

+42
-42
lines changed

2 files changed

+42
-42
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/FrameCodecEncoder.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public FrameCodecEncoder putPackageName(final DirectBuffer src, final int srcOff
217217
{
218218
if (length > 65534)
219219
{
220-
throw new IllegalArgumentException("length > max value for type: " + length);
220+
throw new IllegalStateException("length > maxValue for type: " + length);
221221
}
222222

223223
final int headerLength = 2;
@@ -233,7 +233,7 @@ public FrameCodecEncoder putPackageName(final byte[] src, final int srcOffset, f
233233
{
234234
if (length > 65534)
235235
{
236-
throw new IllegalArgumentException("length > max value for type: " + length);
236+
throw new IllegalStateException("length > maxValue for type: " + length);
237237
}
238238

239239
final int headerLength = 2;
@@ -260,7 +260,7 @@ public FrameCodecEncoder packageName(final String value)
260260
final int length = bytes.length;
261261
if (length > 65534)
262262
{
263-
throw new IllegalArgumentException("length > max value for type: " + length);
263+
throw new IllegalStateException("length > maxValue for type: " + length);
264264
}
265265

266266
final int headerLength = 2;
@@ -303,7 +303,7 @@ public FrameCodecEncoder putNamespaceName(final DirectBuffer src, final int srcO
303303
{
304304
if (length > 65534)
305305
{
306-
throw new IllegalArgumentException("length > max value for type: " + length);
306+
throw new IllegalStateException("length > maxValue for type: " + length);
307307
}
308308

309309
final int headerLength = 2;
@@ -319,7 +319,7 @@ public FrameCodecEncoder putNamespaceName(final byte[] src, final int srcOffset,
319319
{
320320
if (length > 65534)
321321
{
322-
throw new IllegalArgumentException("length > max value for type: " + length);
322+
throw new IllegalStateException("length > maxValue for type: " + length);
323323
}
324324

325325
final int headerLength = 2;
@@ -346,7 +346,7 @@ public FrameCodecEncoder namespaceName(final String value)
346346
final int length = bytes.length;
347347
if (length > 65534)
348348
{
349-
throw new IllegalArgumentException("length > max value for type: " + length);
349+
throw new IllegalStateException("length > maxValue for type: " + length);
350350
}
351351

352352
final int headerLength = 2;
@@ -389,7 +389,7 @@ public FrameCodecEncoder putSemanticVersion(final DirectBuffer src, final int sr
389389
{
390390
if (length > 65534)
391391
{
392-
throw new IllegalArgumentException("length > max value for type: " + length);
392+
throw new IllegalStateException("length > maxValue for type: " + length);
393393
}
394394

395395
final int headerLength = 2;
@@ -405,7 +405,7 @@ public FrameCodecEncoder putSemanticVersion(final byte[] src, final int srcOffse
405405
{
406406
if (length > 65534)
407407
{
408-
throw new IllegalArgumentException("length > max value for type: " + length);
408+
throw new IllegalStateException("length > maxValue for type: " + length);
409409
}
410410

411411
final int headerLength = 2;
@@ -432,7 +432,7 @@ public FrameCodecEncoder semanticVersion(final String value)
432432
final int length = bytes.length;
433433
if (length > 65534)
434434
{
435-
throw new IllegalArgumentException("length > max value for type: " + length);
435+
throw new IllegalStateException("length > maxValue for type: " + length);
436436
}
437437

438438
final int headerLength = 2;

sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/generated/TokenCodecEncoder.java

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)