cz.mmsparams.api.websocket.messages.errors.GenericErrorResponseMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of MmsParamsAPI Show documentation
Show all versions of MmsParamsAPI Show documentation
Common library for MmsParams system
The newest version!
package cz.mmsparams.api.websocket.messages.errors;
import java.io.Serializable;
import cz.mmsparams.api.interfaces.IResponseMessage;
import cz.mmsparams.api.websocket.WebSocketMessageBase;
import cz.mmsparams.api.websocket.model.error.TestErrorModel;
/**
* Message representing general error.
* It can be error in test pipeline or unexpected bug in code
*/
public class GenericErrorResponseMessage extends WebSocketMessageBase implements Serializable, IResponseMessage
{
private TestErrorModel testErrorModel;
private String webSocketMessage;
public TestErrorModel getTestErrorModel()
{
return testErrorModel;
}
public void setTestErrorModel(TestErrorModel testErrorModel)
{
this.testErrorModel = testErrorModel;
}
public String getWebSocketMessage()
{
return webSocketMessage;
}
public void setWebSocketMessage(String webSocketMessage)
{
this.webSocketMessage = webSocketMessage;
}
@Override
public String toString()
{
return "GenericErrorResponseMessage{" +
"testErrorModel=" + testErrorModel +
", webSocketMessage='" + webSocketMessage + '\'' +
"} " + super.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy