Package com.ardublock.translator.block.exception

Examples of com.ardublock.translator.block.exception.SubroutineNameDuplicatedException


 
  public void addFunctionName(Long blockId, String functionName) throws SubroutineNameDuplicatedException
  {
    if (functionName.equals("loop") ||functionName.equals("setup") || functionNameSet.contains(functionName))
    {
      throw new SubroutineNameDuplicatedException(blockId);
    }
   
    functionNameSet.add(functionName);
  }
View Full Code Here

TOP

Related Classes of com.ardublock.translator.block.exception.SubroutineNameDuplicatedException

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.