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

cocaine.UnexpectedMessageException Maven / Gradle / Ivy

There is a newer version: 0.11.1.0
Show newest version
package cocaine;

import cocaine.message.Message;

/**
 * @author Anton Bobukh 
 */
public class UnexpectedMessageException extends ServiceException {

    private final Message msg;

    public UnexpectedMessageException(String serviceName, Message msg) {
        super(serviceName, "Unexpected message: " + msg.toString());
        this.msg = msg;
    }

    public Message getMsg() {
        return msg;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy