Home / Function/ rangeBoundsCheckFailed() — netty Function Reference

rangeBoundsCheckFailed() — netty Function Reference

Architecture documentation for the rangeBoundsCheckFailed() function in AbstractByteBuf.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a1865b50_9e3f_a70e_eb82_9b361caa66f7["rangeBoundsCheckFailed()"]
  bbab270f_457a_3319_83a8_0a0540484666["AbstractByteBuf"]
  a1865b50_9e3f_a70e_eb82_9b361caa66f7 -->|defined in| bbab270f_457a_3319_83a8_0a0540484666
  9d910c24_147f_215e_8873_ba90d9d6f027["checkRangeBoundsTrustedCapacity()"]
  9d910c24_147f_215e_8873_ba90d9d6f027 -->|calls| a1865b50_9e3f_a70e_eb82_9b361caa66f7
  15cf424b_5e92_41d8_3c0a_765fd2a2ea68["checkRangeBounds()"]
  15cf424b_5e92_41d8_3c0a_765fd2a2ea68 -->|calls| a1865b50_9e3f_a70e_eb82_9b361caa66f7
  style a1865b50_9e3f_a70e_eb82_9b361caa66f7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java lines 1416–1419

    private static void rangeBoundsCheckFailed(String indexName, int index, int fieldLength, int capacity) {
        throw new IndexOutOfBoundsException(String.format(
                "%s: %d, length: %d (expected: range(0, %d))", indexName, index, fieldLength, capacity));
    }

Domain

Subdomains

Frequently Asked Questions

What does rangeBoundsCheckFailed() do?
rangeBoundsCheckFailed() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java.
Where is rangeBoundsCheckFailed() defined?
rangeBoundsCheckFailed() is defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java at line 1416.
What calls rangeBoundsCheckFailed()?
rangeBoundsCheckFailed() is called by 2 function(s): checkRangeBounds, checkRangeBoundsTrustedCapacity.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free