Package unbbayes.prs.mebn.compiler.exception

Examples of unbbayes.prs.mebn.compiler.exception.NoDefaultDistributionDeclaredException


    if (this.index < this.text.length) {
      try {
        scan();
      } catch (TableFunctionMalformedException e) {
        // a sintax error here represents a statement other than an else statement
        throw new NoDefaultDistributionDeclaredException(e);
      }
    } else {
      // No statement was found at all (that means no else statement).
      // Debug.println("END OF TABLE");
      throw new NoDefaultDistributionDeclaredException();
    }
   
    if (token == 'l') {
      // The else statement should be a child statement of the upper container,
      // that means, it is on the same level of currently evaluated IF clause
      else_statement(upperIf);
    } else {
      // The statement found was not an else statement
      throw new NoDefaultDistributionDeclaredException();
    }
   
    // we may have another if/else clause after this...
   
  }
View Full Code Here

TOP

Related Classes of unbbayes.prs.mebn.compiler.exception.NoDefaultDistributionDeclaredException

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.