- Timestamp:
- 04/13/07 19:28:10 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/thestaticvoid/iriverter/MencoderCommand.java
r157 r158 25 25 import java.io.*; 26 26 27 public class MencoderCommand {27 public class MencoderCommand implements DoSomeShit { 28 28 private String description; 29 29 private String[] command; … … 35 35 } 36 36 37 public int run(ProgressDialogInfo progressDialogInfo){37 public void run(ProgressDialogInfo progressDialogInfo) throws FailedToDoSomeShit { 38 38 int exitCode = 1; 39 39 … … 45 45 commandStr += command[i] + " "; 46 46 Logger.logMessage(description + " " + commandStr, Logger.INFO); 47 48 progressDialogInfo.setSubdescription(description); 47 49 48 50 try { … … 59 61 } 60 62 61 return exitCode; 63 if (exitCode > 0) 64 throw new FailedToDoSomeShit(description); 62 65 } 63 66
Note: See TracChangeset
for help on using the changeset viewer.
