Home / Class/ SpdyProtocolException Class — netty Architecture

SpdyProtocolException Class — netty Architecture

Architecture documentation for the SpdyProtocolException class in SpdyProtocolException.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1eb7a33b_b375_244e_4aa6_da50880e1425["SpdyProtocolException"]
  3c08e093_ec48_72b4_c816_95c328e424ad["SpdyProtocolException.java"]
  1eb7a33b_b375_244e_4aa6_da50880e1425 -->|defined in| 3c08e093_ec48_72b4_c816_95c328e424ad
  a1ed384f_6818_ec64_cdfb_0937c63311ef["SpdyProtocolException()"]
  1eb7a33b_b375_244e_4aa6_da50880e1425 -->|method| a1ed384f_6818_ec64_cdfb_0937c63311ef

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyProtocolException.java lines 20–74

public class SpdyProtocolException extends Exception {

    private static final long serialVersionUID = 7870000537743847264L;

    /**
     * Creates a new instance.
     */
    public SpdyProtocolException() { }

    /**
     * Creates a new instance.
     */
    public SpdyProtocolException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Creates a new instance.
     */
    public SpdyProtocolException(String message) {
        super(message);
    }

    /**
     * Creates a new instance.
     */
    public SpdyProtocolException(Throwable cause) {
        super(cause);
    }

    static SpdyProtocolException newStatic(String message, Class<?> clazz, String method) {
        final SpdyProtocolException exception = new StacklessSpdyProtocolException(message, true);
        return ThrowableUtil.unknownStackTrace(exception, clazz, method);
    }

    private SpdyProtocolException(String message, boolean shared) {
        super(message, null, false, true);
        assert shared;
    }

    private static final class StacklessSpdyProtocolException extends SpdyProtocolException {
        private static final long serialVersionUID = -6302754207557485099L;

        StacklessSpdyProtocolException(String message, boolean shared) {
            super(message, shared);
        }

        // Override fillInStackTrace() so we not populate the backtrace via a native call and so leak the
        // Classloader.
        @Override
        public Throwable fillInStackTrace() {
            return this;
        }
    }
}

Frequently Asked Questions

What is the SpdyProtocolException class?
SpdyProtocolException is a class in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyProtocolException.java.
Where is SpdyProtocolException defined?
SpdyProtocolException is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyProtocolException.java at line 20.

Analyze Your Own Codebase

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

Try Supermodel Free