Package org.nemesis.forum.exception

Examples of org.nemesis.forum.exception.GroupNotFoundException


      } else {
        pstmt.setString(1, name);
      }
      ResultSet rs = pstmt.executeQuery();
      if (!rs.next()) {
        throw new GroupNotFoundException();
      }
      this.id = rs.getInt("groupID");
      this.name = rs.getString("name");
      this.description = rs.getString("description");
    } catch (SQLException sqle) {
      log.error("SQLException in DbGroup.java:" + "loadFromDb():reading group data " , sqle);
      throw new GroupNotFoundException();
    } finally {
      try {
        pstmt.close();
      } catch (Exception e) {
        log.error("",e);
View Full Code Here

TOP

Related Classes of org.nemesis.forum.exception.GroupNotFoundException

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.