I want my transaction to be canceled following a personalized exception
@Transactional
public class MyClass{
public void step1() throws Exception {
throw new java.lang.Exception();
}
public void step2() throws Exception {
throw new java.lang.Exception();
}
}
But nothing happens when my exceptions occur.