All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.mq.protocol.ProtocolException Maven / Gradle / Ivy

There is a newer version: 2.2.96
Show newest version
package io.fabric8.mq.protocol;

import java.io.IOException;

public class ProtocolException extends IOException {

    private static final long serialVersionUID = -2869735532997332242L;

    private final boolean fatal;

    public ProtocolException() {
        this(null);
    }

    public ProtocolException(String s) {
        this(s, false);
    }

    public ProtocolException(String s, boolean fatal) {
        this(s, fatal, null);
    }

    public ProtocolException(String s, boolean fatal, Throwable cause) {
        super(s);
        this.fatal = fatal;
        initCause(cause);
    }

    public boolean isFatal() {
        return fatal;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy