Package org.pentaho.platform.api.engine.security.userroledao

Examples of org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException


    } catch ( DataAccessException e ) {
      if ( ( e instanceof JcrSystemException ) && ( e.getCause() instanceof NotFoundException ) ) {
        throw (NotFoundException) e.getCause();
      }

      throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
          "JcrUserRoleDao.ERROR_0001_UPDATING_ROLE", e.getLocalizedMessage() ), e );
    }
  }
View Full Code Here


      } );
    } catch ( DataAccessException e ) {
      if ( ( e instanceof JcrSystemException ) && ( e.getCause() instanceof NotFoundException ) ) {
        throw (NotFoundException) e.getCause();
      }
      throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
          "JcrUserRoleDao.ERROR_0001_UPDATING_ROLE", e.getLocalizedMessage() ), e );
    }
  }
View Full Code Here

      } );
    } catch ( DataAccessException e ) {
      if ( ( e instanceof JcrSystemException ) && ( e.getCause() instanceof AuthorizableExistsException ) ) {
        throw new AlreadyExistsException( "" );
      }
      throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
          "JcrUserRoleDao.ERROR_0002_CREATING_ROLE", e.getLocalizedMessage() ), e );
    }
  }
View Full Code Here

      } );
    } catch ( DataAccessException e ) {
      if ( ( e instanceof JcrSystemException ) && ( e.getCause() instanceof AuthorizableExistsException ) ) {
        throw new AlreadyExistsException( "" );
      }
      throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
          "JcrUserRoleDao.ERROR_0003_CREATING_USER", e.getLocalizedMessage() ), e );
    }
    return user;
  }
View Full Code Here

      } );
    } catch ( DataAccessException e ) {
      if ( ( e instanceof JcrSystemException ) && ( e.getCause() instanceof NotFoundException ) ) {
        throw (NotFoundException) e.getCause();
      }
      throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
          "JcrUserRoleDao.ERROR_0004_DELETING_ROLE", role.getName(), e.getLocalizedMessage() ), e );
    }
  }
View Full Code Here

      } );
    } catch ( DataAccessException e ) {
      if ( ( e instanceof JcrSystemException ) && ( e.getCause() instanceof NotFoundException ) ) {
        throw (NotFoundException) e.getCause();
      }
      throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
          "JcrUserRoleDao.ERROR_0005_DELETING_USER", user.getUsername(), e.getLocalizedMessage() ), e );
    }
  }
View Full Code Here

      } );
    } catch ( DataAccessException e ) {
      if ( ( e instanceof JcrSystemException ) && ( e.getCause() instanceof NotFoundException ) ) {
        throw (NotFoundException) e.getCause();
      }
      throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
          "JcrUserRoleDao.ERROR_0001_UPDATING_ROLE", e.getLocalizedMessage() ), e );
    }
  }
View Full Code Here

      } );
    } catch ( DataAccessException e ) {
      if ( ( e instanceof JcrSystemException ) && ( e.getCause() instanceof NotFoundException ) ) {
        throw (NotFoundException) e.getCause();
      }
      throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
          "JcrUserRoleDao.ERROR_0006_UPDATING_USER", e.getLocalizedMessage() ), e );
    }
  }
View Full Code Here

      } );
    } catch ( DataAccessException e ) {
      if ( ( e instanceof JcrSystemException ) && ( e.getCause() instanceof NotFoundException ) ) {
        throw (NotFoundException) e.getCause();
      }
      throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
          "JcrUserRoleDao.ERROR_0007_UPDATING_USER_PASSWORD", e.getLocalizedMessage() ), e );
    }
  }
View Full Code Here

        public Object doInJcr( Session session ) throws IOException, RepositoryException {
          return getRoles( session, tenant, includeSubtenants );
        }
      } );
    } catch ( DataAccessException e ) {
      throw new UncategorizedUserRoleDaoException( Messages.getInstance().getString(
          "JcrUserRoleDao.ERROR_0008_LISTING_ROLES", e.getLocalizedMessage() ), e );
    }
  }
View Full Code Here

TOP

Related Classes of org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException

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.