com.fastchar.out.FastOutParamError Maven / Gradle / Ivy
package com.fastchar.out;
import com.fastchar.core.FastAction;
public class FastOutParamError extends FastOut {
private String message;
@Override
public void response(FastAction action) throws Exception {
this.setDescription(message);
action.responseText(400, message);
}
public String getMessage() {
return message;
}
public FastOutParamError setMessage(String message) {
this.message = message;
return this;
}
}