convert controller exception to runtime exception to ensure container rolls back transactions
This commit is contained in:
@ -19,7 +19,7 @@ package de.muehlencord.shared.account.business;
|
||||
*
|
||||
* @author joern.muehlencord
|
||||
*/
|
||||
public class ControllerException extends Exception {
|
||||
public class ControllerException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 5190280225284514859L;
|
||||
public static final int CAUSE_ALREADY_EXISTS = 1;
|
||||
|
||||
Reference in New Issue
Block a user