/src/mpv5/ui/panels/ChangeNotApprovedException.java
Java | 26 lines | 10 code | 4 blank | 12 comment | 0 complexity | eceea2565b5e788553d5c3f5b2fb64bf MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package mpv5.ui.panels;
- import mpv5.db.common.DatabaseObject;
- import mpv5.db.objects.Item;
- /**
- *
- * @author anti
- */
- public class ChangeNotApprovedException extends Exception {
- private final DatabaseObject dataOwner;
- /**
- * This exception is thrown if the change of the given dataset is not confirmed by the user
- * @param dataOwner
- */
- public ChangeNotApprovedException(DatabaseObject dataOwner) {
- super("Change of " + dataOwner + " not approved by the user/ configuration.");
- this.dataOwner = dataOwner;
- }
- }