convert controller exception to runtime exception to ensure container rolls back transactions

This commit is contained in:
2019-01-30 16:05:07 +01:00
parent 76795365c0
commit 2540d2a454

View File

@ -19,7 +19,7 @@ package de.muehlencord.shared.account.business;
* *
* @author joern.muehlencord * @author joern.muehlencord
*/ */
public class ControllerException extends Exception { public class ControllerException extends RuntimeException {
private static final long serialVersionUID = 5190280225284514859L; private static final long serialVersionUID = 5190280225284514859L;
public static final int CAUSE_ALREADY_EXISTS = 1; public static final int CAUSE_ALREADY_EXISTS = 1;