- @Override
- public void doAdminAddCategory (final Category category) throws RemoteException, CategoryTitleAlreadyUsedException {
- try {
- this.app.doAdminAddCategory(category);
- } catch (final IOException | SQLException | NoSuchMethodException | IllegalAccessException | InvocationTargetException ex) {
- // Continue to throw
- throw new RemoteException("doAdminAddCategory() failed.", ex);
- }
+ /**
+ * Getter for shop remote bean
+ *
+ * @return Remote shop bean
+ */
+ private CategorySessionBeanRemote getCategory () {
+ return this.category;