Package edu.uga.galileo.voci.exception

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


          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

Related Classes of edu.uga.galileo.voci.exception.RoleDeleteException

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.