import java.lang.RuntimeException; public class Foo { void m() { throw new RuntimeException("error"); } }