Package it.hotel.system.exception

Examples of it.hotel.system.exception.SystemException


    Connection conn = null;
    try {
      conn = this.getDataSource().getConnection();
    } catch (SQLException e) {
      SystemUtils.logThrowable(e, this, "getConnection");
      throw new SystemException("Error in creation of datasource", e);
    }
    return conn;
  }
View Full Code Here


    this._guest = this.getUser(IUser.GUEST_USER_NAME);
    if (_guest != null) {
      SystemUtils.getLogger().config(
        this.getClass().getName() + ": initialisation of default user");
    } else {
      throw new SystemException("Error downloading user: guest nullo");
    }
  }
View Full Code Here

    List users = new ArrayList();
    try {
      Map roles = this.getRoleManager().getRoles();
      users = this.getUserDAO().loadUsers(roles);
    } catch (Throwable t) {
            throw new SystemException("Error downloading user list", t);
    }
    return users;
  }
View Full Code Here

  public void removeUser(IUser user) throws SystemException {
    try {
      this.getUserDAO().deleteUser(user);
    } catch (Throwable t) {
      SystemUtils.logThrowable(t, this, "removeUser");
      throw new SystemException("Error removing user", t);
    }
  }
View Full Code Here

    SystemUtils.getLogger().finest("Invocato");
    try {
      this.getUserDAO().updateUser(user);
    } catch (Throwable t) {
      SystemUtils.logThrowable(t, this, "updateUser");
      throw new SystemException("Error updating user", t);
    }
  }
View Full Code Here

    SystemUtils.getLogger().finest("Invocato");
    try {
      this.getUserDAO().addUser(user);
    } catch (Throwable t) {
      SystemUtils.logThrowable(t, this, "addUser");
      throw new SystemException("Error in adding user", t);
    }
  }
View Full Code Here

    User user = null;
    try {
      Map roles = this.getRoleManager().getRoles();
      user = this.getUserDAO().loadUser(userName, roles);
    } catch (Throwable t) {
            throw new SystemException("Error in downloading user", t);
    }
    return user;
  }
View Full Code Here

    User user = null;
    try {
      Map roles = this.getRoleManager().getRoles();
      user = this.getUserDAO().loadUser(userName, password, roles);
    } catch (Throwable t) {
            throw new SystemException("Error in downloading user", t);
    }
    return user;
  }
View Full Code Here

          users.add(user);
        }
      }
    } catch (Throwable t) {
      SystemUtils.logThrowable(t, this, "activateProfile");
      throw new SystemException("Error in activating profile", t);
    }
    return users;
  }
View Full Code Here

  private void loadAuthConfiguration() throws SystemException {
    try {
      _roles = this.getRoleDAO().loadRoles();
      _permissions = this.getPermissionDAO().loadPermissions();
    } catch (Throwable t) {
            throw new SystemException("Errore in caricamento ruoli e permessi", t);
    }
  }
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.