ToString of RsForward should act as Exception
@@ -45,7 +45,6 @@ import org.takes.rs.RsWithoutHeader;
*
* @since 0.1
*/
-@ToString(callSuper = true, of = "origin")
@EqualsAndHashCode(callSuper = true, of = "origin")
public class RsForward extends HttpException implements Response {
@@ -198,4 +197,9 @@ public class RsForward extends HttpException implements Response {
) throws IOException, ClassNotFoundException {
stream.defaultReadObject();
}
+
+ @Override
+ public String toString() {
+ return super.toString();
+ }
}
