Package com.poker.analyst.parse

Examples of com.poker.analyst.parse.ParserException


        Board boardPrevNew = null;
              
        //getting buffer
        strBuffer = getConsoleBuffer(pdata, playWnd);
        parserResult = bufferParser.getParserResult(strBuffer,null);
        if (parserResult == null) throw new ParserException();
       
        if (parserResult.getCurrentRound() != Rounds.PREFLOP){
          boardPrevNew = createBoardShablon(pdata);
          switch (parserResult.getCurrentRound()) {
      case FLOP:
        parserResultPrev = bufferParser.getParserResult(strBuffer,Rounds.PREFLOP);
        break;
      case TURN:
        parserResultPrev = bufferParser.getParserResult(strBuffer,Rounds.FLOP);
        break;
      case RIVER:
        parserResultPrev = bufferParser.getParserResult(strBuffer,Rounds.TURN);
        break;       
      }        
          if (parserResultPrev == null) throw new ParserException();
        }           
        playWnd.setCurrentRound(parserResult.getCurrentRound());
          
        BufferedImage[] hStacks = getStacksImages(pdata, playWnd);
        hStacks = getPreparedStacksImages(pdata, hStacks, 2);
View Full Code Here

TOP

Related Classes of com.poker.analyst.parse.ParserException

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.