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

cocaine.UnexpectedServiceMessageException Maven / Gradle / Ivy

The newest version!
package cocaine;

import cocaine.message.Message;

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

    private final Message msg;

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

    public Message getMsg() {
        return msg;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy