- Timestamp:
- 07/06/13 03:51:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/parsers/MultiParamLoader.java
r88 r97 4 4 import org.apache.log4j.Logger; 5 5 6 import java.io.FileNotFoundException;7 import java.io.IOException;8 6 import java.util.*; 9 7 … … 110 108 * Starts reading the file. 111 109 */ 112 public Status go() throws Exception{110 public Status go() { 113 111 log.trace("go"); 114 112 … … 159 157 continue; 160 158 } 161 log.warn("unknown line: " + currentLine); 159 160 // log.warn("unknown line: " + currentLine); 161 changeStatus(Status.OnError); 162 if (action == LoopAction.Break) { 163 break; 164 } 165 if (action == LoopAction.Continue) { 166 continue; 167 } 162 168 } 163 169 … … 170 176 * @throws Exception 171 177 */ 172 private LoopAction tryReadObject() throws Exception{178 private LoopAction tryReadObject() { 173 179 if (status == Status.BeforeObject 174 180 || (status == Status.BeforeUnknown && lastAccessInterface != null)) { … … 201 207 * Checks whether some additional file shouldn't be included. 202 208 */ 203 private LoopAction isIncludeLine(String line) throws FileNotFoundException{209 private LoopAction isIncludeLine(String line) { 204 210 try { 205 211 // found comment … … 374 380 * Returns from included file. 375 381 */ 376 private boolean returnFromIncluded() throws IOException{382 private boolean returnFromIncluded() { 377 383 if (fileStack.size() == 0) { 378 384 return false;
Note: See TracChangeset
for help on using the changeset viewer.