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

gate.error.BadRequestException Maven / Gradle / Ivy

There is a newer version: 12.3.1
Show newest version
package gate.error;

import gate.annotation.Catcher;
import gate.catcher.BatdRequestExceptionCatcher;

@Catcher(BatdRequestExceptionCatcher.class)
public class BadRequestException extends AppException
{

	private static final long serialVersionUID = 1L;

	public BadRequestException()
	{
		super("Bad request");
	}

	public BadRequestException(String message)
	{
		super(message);
	}

	public BadRequestException(String module, String screen, String action)
	{
		super(String.format("Requisição inválida: MODULE=%s, SCREEN=%s, ACTION=%s",
			module, screen, action));
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy