Package it.hotel.system.exception

Examples of it.hotel.system.exception.SystemException


    try {
      this.getRoleDAO().deleteRole(role);
      _roles.remove(role.getName());
    } catch (Throwable t) {
      SystemUtils.logThrowable(t, this, "removeRole");
      throw new SystemException("Errore in rimozione Ruolo", t);
    }
  }
View Full Code Here


    try {
      this.getRoleDAO().updateRole(role);
      _roles.put(role.getName(), role);
    } catch (Throwable t) {
      SystemUtils.logThrowable(t, this, "updateRole");
      throw new SystemException("Errore in aggiornamento Ruolo", t);
    }
  }
View Full Code Here

    try {
      this.getRoleDAO().addRole(role);
      _roles.put(role.getName(), role);
    } catch (Throwable t) {
      SystemUtils.logThrowable(t, this, "addRole");
      throw new SystemException("Errore in aggiunta Ruolo", t);
    }
  }
View Full Code Here

        Role role = (Role) roleIt.next();
        role.removePermission(permissionName);
      }
    } catch (Throwable t) {
      SystemUtils.logThrowable(t, this, "removePermission");
      throw new SystemException("Errore in rimozione permesso", t);
    }
  }
View Full Code Here

        }
      }
      _permissions.add(permission);
    } catch (Throwable t) {
      SystemUtils.logThrowable(t, this, "updatePermission");
      throw new SystemException("Errore in aggiornamento permesso", t);
    }
  }
View Full Code Here

    try {
      this.getPermissionDAO().addPermission(permission);
      _permissions.add(permission);
    } catch (Throwable t) {
      SystemUtils.logThrowable(t, this, "addPermission");
      throw new SystemException("Errore in aggiunta permesso", t);
    }
  }
View Full Code Here

    SystemUtils.getLogger().finest("Invocato");
    int number = 0;
    try {
      number = this.getRoleDAO().getRoleUses(role);
    } catch (Throwable t) {
            throw new SystemException("Errore in numero utenti utilizzanti ruolo", t);
    }
    return number;
  }
View Full Code Here

TOP

Related Classes of it.hotel.system.exception.SystemException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.