Examples of RoleDeleteException


Examples of edu.uga.galileo.voci.exception.RoleDeleteException

      alm.addRecord(project.getProjectId(), ContentType.ROLE, role
          .getRoleId(), sessionUser.getUserName(), auditLogText);
    } catch (RoleDeleteException noRoleEx) {
      Logger.warn("\n System failed to delete role...(role id :=  "
          + role.getRoleId() + " ) \n", noRoleEx);
      throw new RoleDeleteException(" System failed to delete role ");
    }

  }// end deleteRole()
View Full Code Here

Examples of edu.uga.galileo.voci.exception.RoleDeleteException

          Configuration.getConnectionPool().executeInsertOrUpdate(qp);
        }
        catch( SQLException e )
        {
          Logger.error("Role record couldn't be deleted", e);
          throw new RoleDeleteException(
              "SQLException prevented role record deleted: "
                  + e.getMessage());
        }
      }
      else
      {
        // its not ok to delete
        throw new RoleDeleteException( "\n System couldn't delete role. \n");
      }
    }
    catch( SQLException e1 )
    {     
      Logger.debug( "\n Database error occurred while deleting role. \n",  e1);
      throw new RoleDeleteException( "\n System couldn't delete role. \n");
    }
    catch(DataTypeMismatchException dtmmex)
    {
      Logger.debug("\n\n data type mismatch exception occurred trying to convert counter - PSQLRoleDAO.deleteRole() \n");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.