Package org.infoglue.cms.exception

Examples of org.infoglue.cms.exception.SystemException


    throw new SystemException("The JNDI BASIC Authorization module does not support adding of users to roles yet...");
  }

  public void removeUserFromGroup(String groupName, String userName) throws Exception
  {
    throw new SystemException("The JNDI BASIC Authorization module does not support removing users from groups yet...");
  }
View Full Code Here


    throw new SystemException("The JNDI BASIC Authorization module does not support removing users from groups yet...");
  }

  public void removeUserFromRole(String roleName, String userName) throws Exception
  {
    throw new SystemException("The JNDI BASIC Authorization module does not support removing users from roles yet...");
  }
View Full Code Here

    {
      throw e;
    }
    catch(Exception e)
    {
      throw new SystemException(e);
    }
    if(principal == null)
    {
      throw new SystemException("No such principal [" + userName + "].");
    }
    if(!WorkflowController.getController().getIsAccessApproved(workflowName, principal))
    {
      throw new SystemException("The principal [" + userName + "] is not allowed to create the [" + workflowName + "] workflow.");
    }
  }
View Full Code Here

        {
          throw se;
        }
        catch(Exception e)
        {
          throw new SystemException("An error occurred in ServiceDefinitionController.delete(). Reason:" + e.getMessage(), e);
        }
        finally
        {
          commitTransaction(db);
        }
View Full Code Here

    {
      db.remove(getServiceDefinitionWithId(serviceDefinitionId, db));
    }
    catch(Exception e)
    {
      throw new SystemException("An error occurred when we tried to delete ServiceDefinition in the database. Reason: " + e.getMessage(), e);
   
  }
View Full Code Here

        }
        catch(Exception e)
        {
            logger.error("An error occurred so we should not complete the transaction:" + e, e);
            rollbackTransaction(db);
            throw new SystemException(e.getMessage());
        }


        return serviceDefinition.getValueObject();
    }       
View Full Code Here

      commitTransaction(db);
    }
    catch(Exception e)
    {
      rollbackTransaction(db);
      throw new SystemException("An error occurred when we tried to fetch a ServiceDefinition by name. Reason:" + e.getMessage(), e);   
    }
   
    return serviceDefinitionVO;
  }
View Full Code Here

      results.close();
      oql.close();
    }
    catch(Exception e)
    {
      throw new SystemException("An error occurred when we tried to fetch a named AvailableServiceBinding. Reason:" + e.getMessage(), e);   
    }
   
    return serviceDefinition;   
  }
View Full Code Here

            }
            catch (Exception e)
            {
              logger.warn("An error occurred so we should not complete the transaction:" + e);
              rollbackTransaction(db);
              throw new SystemException(e.getMessage());
            }
          }
          }
        }
        catch(Throwable e)
View Full Code Here

    {
      throw e;
    }
    catch(Exception e)
    {
      throw new SystemException(e);
    }
    if(principal == null)
    {
      throw new SystemException("No such principal [" + userName + "].");
    }
  }
View Full Code Here

TOP

Related Classes of org.infoglue.cms.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.