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

org.dellroad.msrp.msg.ProtocolException Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version

/*
 * Copyright (C) 2014 Archie L. Cobbs. All rights reserved.
 */

package org.dellroad.msrp.msg;

import java.io.IOException;

/**
 * Exception thrown by a {@link BoundaryInputParser}, {@link LineInputParser}, or {@link MsrpInputParser}
 * when a protocol violation is detected or a size limit is exceeded.
 */
@SuppressWarnings("serial")
public class ProtocolException extends IOException {

    public ProtocolException() {
    }

    public ProtocolException(String message) {
        super(message);
    }

    public ProtocolException(String message, Throwable cause) {
        super(message, cause);
    }

    public ProtocolException(Throwable cause) {
        super(cause);
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy