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

org.drools.grid.io.impl.ExceptionMessage Maven / Gradle / Ivy

There is a newer version: 5.6.0.Final
Show newest version
package org.drools.grid.io.impl;

import java.io.Serializable;

public class ExceptionMessage extends MessageImpl
    implements
    Serializable{

    public ExceptionMessage(String conversationId, String senderId, String recipientId, int requestId, int responseId, Throwable body) {
        super(conversationId, senderId, recipientId, requestId, responseId, body);
    }
    
    @Override
    public Throwable getBody() {
        return (Throwable) super.getBody();
    }

    public void setBody(Throwable body) {
        super.setBody(body);
    }

    /* (non-Javadoc)
     * @see org.drools.grid.io.impl.Message#toString()
     */

    @Override
    public String toString() {
        return "ExceptionMessage{" + "conversationId=" + this.getConversationId() + ", senderId=" + this.getSenderId() + ", recipientId=" + this.getRecipientId() + ", requestId=" + this.getRequestId() + ", responseId=" + this.getResponseId() + ", body=" + this.getBody() + '}';
    }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy